home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Science / Biology / DataMinder / DM Databases / Oligos < prev    next >
MacBinary  |  1992-07-31  |  131.4 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Oligos

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, inited, Mon Apr 2 09:30:50 1990, modified Fri Jul 31 06:07:46 1992, creator HyperCard, type HyperCard stack, 122880 bytes "Oligos" , at 0x1e080 11504 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 4f 6c 69 67 6f 73 | 00 00 00 00 00 00 00 00 |..Oligos|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 e0 00 00 | 00 2c f0 a2 3d 04 8a a6 |........|.,..=...|
|00000060| 9e c1 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..r.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c8 1d 00 00 |........|........|
|00000080| 00 00 68 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..h.STAK|........|
|00000090| 00 00 00 0a 00 01 e0 00 | 00 00 68 00 00 00 00 00 |........|..h.....|
|000000a0| 00 00 00 01 00 00 00 02 | 00 00 12 b1 00 00 00 05 |........|........|
|000000b0| 00 00 16 8a 00 00 0c 42 | 00 00 00 02 00 00 09 20 |.......B|....... |
|000000c0| 00 00 0d 2f 00 00 00 00 | 00 05 00 00 18 00 00 00 |.../....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 20 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |. ......|........|
|000000f0| ea 74 b9 44 00 00 00 00 | 00 45 00 40 01 9b 02 40 |.t.D....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 60 22 00 00 5d 40 | 00 00 00 00 00 00 00 00 |..`"..]@|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ee 88 bb 22 ee 88 bb 22 |..3"..3"|..."..."|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 e5 a0 00 00 06 a0 | 00 01 dd 60 00 00 02 80 |........|...`....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 4f 4c 49 47 4f 53 20 73 |........|OLIGOS s|
|000006d0| 74 61 63 6b 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |tack....|........|
|000006e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000700| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000710| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 6f 6e 20 |........|.....on |
|00000720| 69 64 6c 65 0d 67 6c 6f | 62 61 6c 20 74 69 6d 65 |idle.glo|bal time|
|00000730| 4f 75 74 53 74 61 74 75 | 73 2c 74 69 6d 65 4f 75 |OutStatu|s,timeOu|
|00000740| 74 2c 73 63 72 65 65 6e | 53 61 76 65 72 2c 6f 6c |t,screen|Saver,ol|
|00000750| 64 54 69 6d 65 0d 61 64 | 64 20 31 20 74 6f 20 74 |dTime.ad|d 1 to t|
|00000760| 69 6d 65 6f 75 74 0d 69 | 66 20 74 69 6d 65 6f 75 |imeout.i|f timeou|
|00000770| 74 3e 36 30 30 30 20 74 | 68 65 6e 20 70 75 74 20 |t>6000 t|hen put |
|00000780| 65 6d 70 74 79 20 69 6e | 74 6f 20 74 69 6d 65 6f |empty in|to timeo|
|00000790| 75 74 0d 65 6c 73 65 20 | 69 66 20 74 69 6d 65 6f |ut.else |if timeo|
|000007a0| 75 74 3d 36 30 30 30 20 | 74 68 65 6e 0d 69 66 20 |ut=6000 |then.if |
|000007b0| 74 69 6d 65 4f 75 74 53 | 74 61 74 75 73 3d 74 72 |timeOutS|tatus=tr|
|000007c0| 75 65 20 74 68 65 6e 0d | 70 75 74 20 65 6d 70 74 |ue then.|put empt|
|000007d0| 79 20 69 6e 74 6f 20 74 | 69 6d 65 6f 75 74 0d 76 |y into t|imeout.v|
|000007e0| 69 73 75 61 6c 20 65 66 | 66 65 63 74 20 69 72 69 |isual ef|fect iri|
|000007f0| 73 20 63 6c 6f 73 65 0d | 67 6f 20 68 6f 6d 65 0d |s close.|go home.|
|00000800| 65 6e 64 20 69 66 0d 69 | 66 20 73 63 72 65 65 6e |end if.i|f screen|
|00000810| 53 61 76 65 72 20 69 73 | 20 74 72 75 65 20 74 68 |Saver is| true th|
|00000820| 65 6e 0d 68 69 64 65 20 | 6d 65 6e 75 62 61 72 0d |en.hide |menubar.|
|00000830| 70 75 74 20 22 2c 22 26 | 69 74 65 6d 20 33 20 6f |put ","&|item 3 o|
|00000840| 66 20 74 68 65 20 73 63 | 72 65 65 6e 72 65 63 74 |f the sc|reenrect|
|00000850| 26 22 2c 22 26 69 74 65 | 6d 20 34 20 6f 66 20 74 |&","&ite|m 4 of t|
|00000860| 68 65 20 73 63 72 65 65 | 6e 72 65 63 74 20 69 6e |he scree|nrect in|
|00000870| 74 6f 20 63 6f 4f 72 64 | 73 0d 70 75 74 20 22 2d |to coOrd|s.put "-|
|00000880| 22 26 28 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |"&(item |3 of the|
|00000890| 20 73 63 72 65 65 6e 72 | 65 63 74 29 2f 31 2e 35 | screenr|ect)/1.5|
|000008a0| 26 22 2c 2d 22 26 28 69 | 74 65 6d 20 34 20 6f 66 |&",-"&(i|tem 4 of|
|000008b0| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 29 | the scr|eenrect)|
|000008c0| 2f 31 2e 35 20 62 65 66 | 6f 72 65 20 63 6f 4f 72 |/1.5 bef|ore coOr|
|000008d0| 64 73 0d 73 63 72 65 65 | 6e 73 61 76 65 72 20 63 |ds.scree|nsaver c|
|000008e0| 6f 4f 72 64 73 0d 73 68 | 6f 77 20 6d 65 6e 75 62 |oOrds.sh|ow menub|
|000008f0| 61 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ar.end i|f.end if|
|00000900| 0d 69 66 20 74 68 65 20 | 74 69 63 6b 73 2d 6f 6c |.if the |ticks-ol|
|00000910| 64 74 69 6d 65 3e 32 30 | 20 74 68 65 6e 20 70 75 |dtime>20| then pu|
|00000920| 74 20 30 20 69 6e 74 6f | 20 74 69 6d 65 6f 75 74 |t 0 into| timeout|
|00000930| 0d 70 75 74 20 74 68 65 | 20 74 69 63 6b 73 20 69 |.put the| ticks i|
|00000940| 6e 74 6f 20 6f 6c 64 74 | 69 6d 65 0d 65 6e 64 20 |nto oldt|ime.end |
|00000950| 69 64 6c 65 0d 0d 6f 6e | 20 6d 6f 75 73 65 64 6f |idle..on| mousedo|
|00000960| 77 6e 0d 67 6c 6f 62 61 | 6c 20 74 69 6d 65 6f 75 |wn.globa|l timeou|
|00000970| 74 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |t.put em|pty into|
|00000980| 20 74 69 6d 65 6f 75 74 | 0d 70 61 73 73 20 6d 6f | timeout|.pass mo|
|00000990| 75 73 65 64 6f 77 6e 0d | 65 6e 64 20 6d 6f 75 73 |usedown.|end mous|
|000009a0| 65 64 6f 77 6e 0d 0d 6f | 6e 20 6f 70 65 6e 63 61 |edown..o|n openca|
|000009b0| 72 64 0d 67 6c 6f 62 61 | 6c 20 6f 6c 64 6e 61 6d |rd.globa|l oldnam|
|000009c0| 65 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |e.if the| short n|
|000009d0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|000009e0| 73 20 69 6e 20 63 64 20 | 66 6c 64 20 22 6f 6c 69 |s in cd |fld "oli|
|000009f0| 67 6f 69 6e 64 65 78 22 | 20 6f 66 20 63 64 20 31 |goindex"| of cd 1|
|00000a00| 20 74 68 65 6e 0d 70 75 | 74 20 74 68 65 20 73 68 | then.pu|t the sh|
|00000a10| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00000a20| 20 63 64 20 69 6e 74 6f | 20 6f 6c 64 6e 61 6d 65 | cd into| oldname|
|00000a30| 0d 69 66 20 74 68 65 20 | 6c 6f 63 6b 74 65 78 74 |.if the |locktext|
|00000a40| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 64 61 74 61 | of bg f|ld "data|
|00000a50| 22 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 73 |" is tru|e then.s|
|00000a60| 65 74 20 6c 6f 63 6b 74 | 65 78 74 20 6f 66 20 62 |et lockt|ext of b|
|00000a70| 67 20 66 6c 64 20 22 64 | 61 74 61 22 20 74 6f 20 |g fld "d|ata" to |
|00000a80| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6c 73 |false.en|d if.els|
|00000a90| 65 20 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 74 65 |e set th|e lockte|
|00000aa0| 78 74 20 6f 66 20 62 67 | 20 66 6c 64 20 31 20 74 |xt of bg| fld 1 t|
|00000ab0| 6f 20 74 72 75 65 0d 65 | 6e 64 20 6f 70 65 6e 63 |o true.e|nd openc|
|00000ac0| 61 72 64 0d 0d 6f 6e 20 | 63 6c 6f 73 65 63 61 72 |ard..on |closecar|
|00000ad0| 64 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |d.if the| short n|
|00000ae0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|00000af0| 73 20 69 6e 20 63 64 20 | 66 6c 64 20 22 6f 6c 69 |s in cd |fld "oli|
|00000b00| 67 6f 69 6e 64 65 78 22 | 20 6f 66 20 63 64 20 31 |goindex"| of cd 1|
|00000b10| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 76 69 73 | then.if| the vis|
|00000b20| 69 62 6c 65 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |ible of |bg fld "|
|00000b30| 73 74 6f 72 61 67 65 22 | 20 69 73 20 74 72 75 65 |storage"| is true|
|00000b40| 20 74 68 65 6e 20 68 69 | 64 65 20 62 67 20 66 6c | then hi|de bg fl|
|00000b50| 64 20 22 73 74 6f 72 61 | 67 65 22 0d 65 6e 64 20 |d "stora|ge".end |
|00000b60| 69 66 0d 65 6e 64 20 63 | 6c 6f 73 65 63 61 72 64 |if.end c|losecard|
|00000b70| 0d 0d 6f 6e 20 63 68 61 | 6e 67 65 6e 61 6d 65 0d |..on cha|ngename.|
|00000b80| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00000b90| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |me of th|is cd in|
|00000ba0| 74 6f 20 6c 6f 63 61 6c | 6f 6c 64 6e 61 6d 65 0d |to local|oldname.|
|00000bb0| 70 75 74 20 63 64 20 66 | 6c 64 20 22 6f 6c 69 67 |put cd f|ld "olig|
|00000bc0| 6f 69 6e 64 65 78 22 20 | 6f 66 20 63 64 20 31 20 |oindex" |of cd 1 |
|00000bd0| 69 6e 74 6f 20 6f 6c 69 | 67 6f 69 6e 64 65 78 0d |into oli|goindex.|
|00000be0| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |if the s|hort nam|
|00000bf0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 73 20 |e of thi|s cd is |
|00000c00| 6e 6f 74 20 69 6e 20 6f | 6c 69 67 6f 69 6e 64 65 |not in o|ligoinde|
|00000c10| 78 20 74 68 65 6e 20 65 | 78 69 74 20 74 6f 20 48 |x then e|xit to H|
|00000c20| 79 70 65 72 63 61 72 64 | 0d 65 6c 73 65 20 69 66 |ypercard|.else if|
|00000c30| 20 6c 69 6e 65 20 31 20 | 6f 66 20 62 67 20 66 6c | line 1 |of bg fl|
|00000c40| 64 20 69 64 20 31 32 20 | 69 73 20 65 6d 70 74 79 |d id 12 |is empty|
|00000c50| 20 74 68 65 6e 20 70 75 | 74 20 6c 6f 63 61 6c 6f | then pu|t localo|
|00000c60| 6c 64 6e 61 6d 65 20 69 | 6e 74 6f 20 6c 69 6e 65 |ldname i|nto line|
|00000c70| 20 31 20 6f 66 20 62 67 | 20 66 6c 64 20 69 64 20 | 1 of bg| fld id |
|00000c80| 31 32 0d 65 6c 73 65 0d | 70 75 74 20 30 20 69 6e |12.else.|put 0 in|
|00000c90| 74 6f 20 61 73 63 69 69 | 6f 6c 64 0d 70 75 74 20 |to ascii|old.put |
|00000ca0| 30 20 69 6e 74 6f 20 61 | 73 63 69 69 6e 65 77 0d |0 into a|sciinew.|
|00000cb0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00000cc0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 6f 6c 69 67 6f |f lines |of oligo|
|00000cd0| 69 6e 64 65 78 20 69 6e | 74 6f 20 6c 69 6e 65 73 |index in|to lines|
|00000ce0| 0d 70 75 74 20 6c 69 6e | 65 20 31 20 6f 66 20 62 |.put lin|e 1 of b|
|00000cf0| 67 20 66 6c 64 20 69 64 | 20 31 32 20 69 6e 74 6f |g fld id| 12 into|
|00000d00| 20 6e 65 77 6e 61 6d 65 | 0d 70 75 74 20 74 68 65 | newname|.put the|
|00000d10| 20 6c 65 6e 67 74 68 20 | 6f 66 20 6c 6f 63 61 6c | length |of local|
|00000d20| 6f 6c 64 6e 61 6d 65 20 | 69 6e 74 6f 20 6e 61 6d |oldname |into nam|
|00000d30| 65 6c 65 6e 67 74 68 0d | 72 65 70 65 61 74 20 77 |elength.|repeat w|
|00000d40| 69 74 68 20 78 3d 31 20 | 74 6f 20 6e 61 6d 65 6c |ith x=1 |to namel|
|00000d50| 65 6e 67 74 68 0d 61 64 | 64 20 63 68 61 72 74 6f |ength.ad|d charto|
|00000d60| 6e 75 6d 20 6f 66 20 63 | 68 61 72 20 78 20 6f 66 |num of c|har x of|
|00000d70| 20 6c 6f 63 6f 61 6c 6f | 6c 64 6e 61 6d 65 20 74 | locoalo|ldname t|
|00000d80| 6f 20 61 73 63 69 69 6f | 6c 64 0d 61 64 64 20 63 |o asciio|ld.add c|
|00000d90| 68 61 72 74 6f 6e 75 6d | 20 6f 66 20 63 68 61 72 |hartonum| of char|
|00000da0| 20 78 20 6f 66 20 6e 65 | 77 6e 61 6d 65 20 74 6f | x of ne|wname to|
|00000db0| 20 61 73 63 69 69 6e 65 | 77 0d 65 6e 64 20 72 65 | asciine|w.end re|
|00000dc0| 70 65 61 74 0d 69 66 20 | 6c 6f 63 61 6c 6f 6c 64 |peat.if |localold|
|00000dd0| 6e 61 6d 65 3d 6c 69 6e | 65 20 31 20 6f 66 20 62 |name=lin|e 1 of b|
|00000de0| 67 20 66 69 65 6c 64 20 | 69 64 20 31 32 20 61 6e |g field |id 12 an|
|00000df0| 64 20 61 73 63 69 69 6f | 6c 64 3d 61 73 63 69 69 |d asciio|ld=ascii|
|00000e00| 6e 65 77 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |new then| exit to|
|00000e10| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6c 73 65 20 | Hyperca|rd.else |
|00000e20| 69 66 20 6e 65 77 6e 61 | 6d 65 20 63 6f 6e 74 61 |if newna|me conta|
|00000e30| 69 6e 73 20 71 75 6f 74 | 65 20 6f 72 20 6e 65 77 |ins quot|e or new|
|00000e40| 6e 61 6d 65 20 63 6f 6e | 74 61 69 6e 73 20 22 2c |name con|tains ",|
|00000e50| 22 20 74 68 65 6e 0d 70 | 6c 61 79 20 68 61 72 70 |" then.p|lay harp|
|00000e60| 73 69 63 68 6f 72 64 0d | 61 6e 73 77 65 72 20 22 |sichord.|answer "|
|00000e70| 54 68 65 20 6e 65 77 20 | 6f 6c 69 67 6f 20 6e 61 |The new |oligo na|
|00000e80| 6d 65 20 63 6f 6e 74 61 | 69 6e 73 20 69 6e 76 61 |me conta|ins inva|
|00000e90| 6c 69 64 20 63 68 61 72 | 61 63 74 65 72 73 21 20 |lid char|acters! |
|00000ea0| 54 68 65 20 6e 65 77 20 | 64 61 74 61 20 6e 61 6d |The new |data nam|
|00000eb0| 65 20 77 69 6c 6c 20 62 | 65 20 72 65 70 6c 61 63 |e will b|e replac|
|00000ec0| 65 64 20 62 79 20 74 68 | 65 20 6c 61 73 74 20 76 |ed by th|e last v|
|00000ed0| 61 6c 69 64 20 64 61 74 | 61 20 6e 61 6d 65 2e 22 |alid dat|a name."|
|00000ee0| 0d 70 75 74 20 6c 6f 63 | 61 6c 6f 6c 64 6e 61 6d |.put loc|aloldnam|
|00000ef0| 65 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 20 6f 66 |e into l|ine 1 of|
|00000f00| 20 62 67 20 66 6c 64 20 | 69 64 20 31 32 0d 65 78 | bg fld |id 12.ex|
|00000f10| 69 74 20 74 6f 20 48 79 | 70 65 72 63 61 72 64 0d |it to Hy|percard.|
|00000f20| 65 6c 73 65 20 69 66 20 | 74 68 65 20 6c 65 6e 67 |else if |the leng|
|00000f30| 74 68 20 6f 66 20 6e 65 | 77 6e 61 6d 65 3e 33 30 |th of ne|wname>30|
|00000f40| 20 74 68 65 6e 0d 70 6c | 61 79 20 68 61 72 70 73 | then.pl|ay harps|
|00000f50| 69 63 68 6f 72 64 0d 61 | 6e 73 77 65 72 20 22 54 |ichord.a|nswer "T|
|00000f60| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 6f |he name |of the o|
|00000f70| 6c 69 67 6f 20 6d 75 73 | 74 20 62 65 20 6e 6f 20 |ligo mus|t be no |
|00000f80| 6d 6f 72 65 20 74 68 61 | 6e 20 33 30 20 63 68 61 |more tha|n 30 cha|
|00000f90| 72 61 63 74 65 72 73 20 | 6c 6f 6e 67 21 20 54 68 |racters |long! Th|
|00000fa0| 65 20 6e 65 77 20 64 61 | 74 61 20 6e 61 6d 65 20 |e new da|ta name |
|00000fb0| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|00000fc0| 20 62 79 20 74 68 65 20 | 6c 61 73 74 20 76 61 6c | by the |last val|
|00000fd0| 69 64 20 64 61 74 61 20 | 6e 61 6d 65 2e 22 0d 70 |id data |name.".p|
|00000fe0| 75 74 20 6c 6f 63 61 6c | 6f 6c 64 6e 61 6d 65 20 |ut local|oldname |
|00000ff0| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 62 |into lin|e 1 of b|
|00001000| 67 20 66 6c 64 20 69 64 | 20 31 32 0d 65 78 69 74 |g fld id| 12.exit|
|00001010| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6c | to Hype|rcard.el|
|00001020| 73 65 20 69 66 20 73 74 | 72 69 70 28 22 31 32 33 |se if st|rip("123|
|00001030| 34 35 36 37 38 39 30 2e | 20 2b 2d 22 2c 6e 65 77 |4567890.| +-",new|
|00001040| 6e 61 6d 65 29 20 69 73 | 20 65 6d 70 74 79 20 74 |name) is| empty t|
|00001050| 68 65 6e 0d 70 6c 61 79 | 20 68 61 72 70 73 69 63 |hen.play| harpsic|
|00001060| 68 6f 72 64 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |hord.ans|wer "The|
|00001070| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 6f 6c 69 | name of| the oli|
|00001080| 67 6f 20 6d 75 73 74 20 | 63 6f 6e 74 61 69 6e 20 |go must |contain |
|00001090| 61 74 20 6c 65 61 73 74 | 20 6f 6e 65 20 6e 6f 6e |at least| one non|
|000010a0| 2d 6e 75 6d 65 72 69 63 | 20 63 68 61 72 61 63 74 |-numeric| charact|
|000010b0| 65 72 21 20 54 68 65 20 | 6e 65 77 20 64 61 74 61 |er! The |new data|
|000010c0| 20 6e 61 6d 65 20 77 69 | 6c 6c 20 62 65 20 72 65 | name wi|ll be re|
|000010d0| 70 6c 61 63 65 64 20 62 | 79 20 74 68 65 20 6c 61 |placed b|y the la|
|000010e0| 73 74 20 76 61 6c 69 64 | 20 64 61 74 61 20 6e 61 |st valid| data na|
|000010f0| 6d 65 2e 22 0d 70 75 74 | 20 6c 6f 63 61 6c 6f 6c |me.".put| localol|
|00001100| 64 6e 61 6d 65 20 69 6e | 74 6f 20 6c 69 6e 65 20 |dname in|to line |
|00001110| 31 20 6f 66 20 62 67 20 | 66 6c 64 20 69 64 20 31 |1 of bg |fld id 1|
|00001120| 32 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |2.exit t|o Hyperc|
|00001130| 61 72 64 0d 65 6c 73 65 | 20 69 66 20 6f 6c 69 67 |ard.else| if olig|
|00001140| 6f 69 6e 64 65 78 20 63 | 6f 6e 74 61 69 6e 73 20 |oindex c|ontains |
|00001150| 6e 65 77 6e 61 6d 65 20 | 74 68 65 6e 0d 72 65 70 |newname |then.rep|
|00001160| 65 61 74 20 77 69 74 68 | 20 78 3d 31 20 74 6f 20 |eat with| x=1 to |
|00001170| 6c 69 6e 65 73 0d 69 66 | 20 6e 65 77 6e 61 6d 65 |lines.if| newname|
|00001180| 3d 6c 69 6e 65 20 78 20 | 6f 66 20 6f 6c 69 67 6f |=line x |of oligo|
|00001190| 69 6e 64 65 78 20 74 68 | 65 6e 0d 69 66 20 6e 65 |index th|en.if ne|
|000011a0| 77 6e 61 6d 65 3d 74 68 | 65 20 73 68 6f 72 74 20 |wname=th|e short |
|000011b0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|000011c0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|000011d0| 0d 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 |.play ha|rpsichor|
|000011e0| 64 0d 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2c |d.answer| "Sorry,|
|000011f0| 20 61 6e 20 6f 6c 69 67 | 6f 20 77 69 74 68 20 74 | an olig|o with t|
|00001200| 68 69 73 20 6e 61 6d 65 | 20 69 73 20 61 6c 72 65 |his name| is alre|
|00001210| 61 64 79 20 69 6e 20 74 | 68 65 20 64 61 74 61 62 |ady in t|he datab|
|00001220| 61 73 65 2e 20 54 68 65 | 20 6e 65 77 20 64 61 74 |ase. The| new dat|
|00001230| 61 20 6e 61 6d 65 20 77 | 69 6c 6c 20 62 65 20 72 |a name w|ill be r|
|00001240| 65 70 6c 61 63 65 64 20 | 62 79 20 74 68 65 20 6c |eplaced |by the l|
|00001250| 61 73 74 20 76 61 6c 69 | 64 20 64 61 74 61 20 6e |ast vali|d data n|
|00001260| 61 6d 65 2e 22 0d 70 75 | 74 20 6c 6f 63 61 6c 6f |ame.".pu|t localo|
|00001270| 6c 64 6e 61 6d 65 20 69 | 6e 74 6f 20 6c 69 6e 65 |ldname i|nto line|
|00001280| 20 31 20 6f 66 20 62 67 | 20 66 6c 64 20 69 64 20 | 1 of bg| fld id |
|00001290| 31 32 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |12.exit |to Hyper|
|000012a0| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |card.end| if.end |
|000012b0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 67 65 |repeat.e|nd if.ge|
|000012c0| 74 20 73 65 61 72 63 68 | 28 6f 6c 69 67 6f 69 6e |t search|(oligoin|
|000012d0| 64 65 78 2c 6c 6f 63 61 | 6c 6f 6c 64 6e 61 6d 65 |dex,loca|loldname|
|000012e0| 2c 74 72 75 65 29 0d 70 | 75 74 20 6e 65 77 6e 61 |,true).p|ut newna|
|000012f0| 6d 65 20 69 6e 74 6f 20 | 6c 69 6e 65 20 69 74 65 |me into |line ite|
|00001300| 6d 20 31 20 6f 66 20 69 | 74 20 6f 66 20 6f 6c 69 |m 1 of i|t of oli|
|00001310| 67 6f 69 6e 64 65 78 0d | 64 6f 20 22 70 75 74 20 |goindex.|do "put |
|00001320| 73 6f 72 74 66 69 65 6c | 64 28 6f 6c 69 67 6f 69 |sortfiel|d(oligoi|
|00001330| 6e 64 65 78 29 20 69 6e | 74 6f 20 63 64 20 66 6c |ndex) in|to cd fl|
|00001340| 64 20 69 64 20 31 30 37 | 20 6f 66 20 63 64 20 31 |d id 107| of cd 1|
|00001350| 22 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |".set th|e name o|
|00001360| 66 20 74 68 69 73 20 63 | 64 20 74 6f 20 6e 65 77 |f this c|d to new|
|00001370| 6e 61 6d 65 0d 70 75 74 | 20 6e 65 77 6e 61 6d 65 |name.put| newname|
|00001380| 20 69 6e 74 6f 20 6f 6c | 64 6e 61 6d 65 0d 65 6e | into ol|dname.en|
|00001390| 64 20 69 66 0d 65 6e 64 | 20 63 68 61 6e 67 65 6e |d if.end| changen|
|000013a0| 61 6d 65 0d 0d 6f 6e 20 | 64 6f 6d 65 6e 75 20 77 |ame..on |domenu w|
|000013b0| 68 69 63 68 0d 69 66 20 | 77 68 69 63 68 20 69 73 |hich.if |which is|
|000013c0| 20 22 44 65 6c 65 74 65 | 20 63 61 72 64 22 20 74 | "Delete| card" t|
|000013d0| 68 65 6e 0d 69 66 20 74 | 68 65 20 75 73 65 72 6c |hen.if t|he userl|
|000013e0| 65 76 65 6c 3c 35 20 74 | 68 65 6e 0d 70 6c 61 79 |evel<5 t|hen.play|
|000013f0| 20 68 61 72 70 73 69 63 | 68 6f 72 64 0d 65 78 69 | harpsic|hord.exi|
|00001400| 74 20 74 6f 20 48 79 70 | 65 72 63 61 72 64 0d 65 |t to Hyp|ercard.e|
|00001410| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 20 73 68 6f |nd if.if| the sho|
|00001420| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00001430| 63 64 20 69 73 20 69 6e | 20 63 64 20 66 6c 64 20 |cd is in| cd fld |
|00001440| 22 6f 6c 69 67 6f 69 6e | 64 65 78 22 20 6f 66 20 |"oligoin|dex" of |
|00001450| 63 64 20 31 20 74 68 65 | 6e 0d 6c 6f 63 6b 20 73 |cd 1 the|n.lock s|
|00001460| 63 72 65 65 6e 0d 61 6e | 73 77 65 72 20 22 41 72 |creen.an|swer "Ar|
|00001470| 65 20 79 6f 75 20 73 75 | 72 65 20 74 68 61 74 20 |e you su|re that |
|00001480| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 64 65 6c 65 |you want| to dele|
|00001490| 74 65 20 74 68 69 73 20 | 63 61 72 64 3f 22 20 77 |te this |card?" w|
|000014a0| 69 74 68 20 c2 0d 22 44 | 65 6c 65 74 65 22 20 6f |ith .."D|elete" o|
|000014b0| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|000014c0| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000014d0| 6e 20 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |n exit t|o Hyperc|
|000014e0| 61 72 64 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ard.lock| screen.|
|000014f0| 64 65 6c 74 61 63 64 0d | 67 6f 20 74 6f 20 63 64 |deltacd.|go to cd|
|00001500| 20 31 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e | 1.unloc|k screen|
|00001510| 20 77 69 74 68 20 76 69 | 73 75 61 6c 20 65 66 66 | with vi|sual eff|
|00001520| 65 63 74 20 69 72 69 73 | 20 63 6c 6f 73 65 0d 65 |ect iris| close.e|
|00001530| 6c 73 65 20 70 61 73 73 | 20 64 6f 6d 65 6e 75 0d |lse pass| domenu.|
|00001540| 65 6c 73 65 20 70 61 73 | 73 20 64 6f 6d 65 6e 75 |else pas|s domenu|
|00001550| 0d 65 6e 64 20 64 6f 6d | 65 6e 75 0d 0d 6f 6e 20 |.end dom|enu..on |
|00001560| 66 65 74 63 68 6f 6c 69 | 67 6f 0d 67 65 74 20 73 |fetcholi|go.get s|
|00001570| 68 6f 77 6c 69 73 74 28 | 63 64 20 66 6c 64 20 22 |howlist(|cd fld "|
|00001580| 6f 6c 69 67 6f 69 6e 64 | 65 78 22 20 6f 66 20 63 |oligoind|ex" of c|
|00001590| 64 20 31 2c 31 33 2c 22 | 44 4d 20 4f 6c 69 67 6f |d 1,13,"|DM Oligo|
|000015a0| 6e 75 63 6c 65 6f 74 69 | 64 65 20 44 61 74 61 62 |nucleoti|de Datab|
|000015b0| 61 73 65 22 2c c2 0d 66 | 61 6c 73 65 2c 22 4f 4b |ase",..f|alse,"OK|
|000015c0| 2c 43 61 6e 63 65 6c 22 | 29 0d 69 66 20 6c 69 6e |,Cancel"|).if lin|
|000015d0| 65 20 31 20 6f 66 20 69 | 74 20 69 73 20 22 43 61 |e 1 of i|t is "Ca|
|000015e0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|000015f0| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 70 75 74 |to Hyper|card.put|
|00001600| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00001610| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 6e 61 6d |2 of it |into nam|
|00001620| 65 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |e.set cu|rsor to |
|00001630| 34 0d 70 75 74 20 73 74 | 72 69 70 28 72 65 74 75 |4.put st|rip(retu|
|00001640| 72 6e 2c 6c 69 6e 65 20 | 32 20 74 6f 20 33 20 6f |rn,line |2 to 3 o|
|00001650| 66 20 66 69 65 6c 64 20 | 31 20 6f 66 20 63 64 20 |f field |1 of cd |
|00001660| 6e 61 6d 65 29 20 69 6e | 74 6f 20 73 65 71 0d 72 |name) in|to seq.r|
|00001670| 65 74 75 72 6e 20 73 65 | 71 0d 65 6e 64 20 66 65 |eturn se|q.end fe|
|00001680| 74 63 68 6f 6c 69 67 6f | 0d 0d 6f 6e 20 66 69 6e |tcholigo|..on fin|
|00001690| 64 6f 6c 69 67 6f 0d 69 | 66 20 74 68 65 20 75 73 |doligo.i|f the us|
|000016a0| 65 72 6c 65 76 65 6c 3d | 31 20 74 68 65 6e 20 70 |erlevel=|1 then p|
|000016b0| 75 74 20 22 56 69 65 77 | 2c 43 61 6e 63 65 6c 22 |ut "View|,Cancel"|
|000016c0| 20 69 6e 74 6f 20 73 65 | 74 74 69 6e 67 73 0d 65 | into se|ttings.e|
|000016d0| 6c 73 65 20 69 66 20 74 | 68 65 20 75 73 65 72 6c |lse if t|he userl|
|000016e0| 65 76 65 6c 3c 35 20 74 | 68 65 6e 20 70 75 74 20 |evel<5 t|hen put |
|000016f0| 22 56 69 65 77 2c 4e 65 | 77 2c 43 61 6e 63 65 6c |"View,Ne|w,Cancel|
|00001700| 22 20 69 6e 74 6f 20 73 | 65 74 74 69 6e 67 73 0d |" into s|ettings.|
|00001710| 65 6c 73 65 20 70 75 74 | 20 22 56 69 65 77 2c 4e |else put| "View,N|
|00001720| 65 77 2c 44 65 6c 65 74 | 65 2c 43 61 6e 63 65 6c |ew,Delet|e,Cancel|
|00001730| 22 20 69 6e 74 6f 20 73 | 65 74 74 69 6e 67 73 0d |" into s|ettings.|
|00001740| 69 66 20 74 68 65 20 69 | 64 20 6f 66 20 74 68 69 |if the i|d of thi|
|00001750| 73 20 63 64 3c 3e 22 63 | 61 72 64 20 69 64 20 35 |s cd<>"c|ard id 5|
|00001760| 37 37 30 22 20 61 6e 64 | 20 74 68 65 20 69 64 20 |770" and| the id |
|00001770| 6f 66 20 74 68 69 73 20 | 63 64 3c 3e 22 63 61 72 |of this |cd<>"car|
|00001780| 64 20 69 64 20 34 32 39 | 33 22 20 61 6e 64 c2 0d |d id 429|3" and..|
|00001790| 74 68 65 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |the id o|f this c|
|000017a0| 64 3c 3e 22 63 61 72 64 | 20 69 64 20 32 35 33 39 |d<>"card| id 2539|
|000017b0| 32 22 20 74 68 65 6e 0d | 70 75 74 20 74 68 65 20 |2" then.|put the |
|000017c0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000017d0| 69 73 20 63 64 20 69 6e | 74 6f 20 63 64 6e 61 6d |is cd in|to cdnam|
|000017e0| 65 0d 65 6c 73 65 20 70 | 75 74 20 6c 69 6e 65 20 |e.else p|ut line |
|000017f0| 31 20 6f 66 20 63 64 20 | 66 6c 64 20 22 6f 6c 69 |1 of cd |fld "oli|
|00001800| 67 6f 69 6e 64 65 78 22 | 20 6f 66 20 63 64 20 31 |goindex"| of cd 1|
|00001810| 20 69 6e 74 6f 20 63 64 | 6e 61 6d 65 0d 67 65 74 | into cd|name.get|
|00001820| 20 73 68 6f 77 6c 69 73 | 74 28 63 64 20 66 6c 64 | showlis|t(cd fld|
|00001830| 20 22 6f 6c 69 67 6f 69 | 6e 64 65 78 22 20 6f 66 | "oligoi|ndex" of|
|00001840| 20 63 64 20 31 2c 31 33 | 2c 22 44 4d 20 4f 6c 69 | cd 1,13|,"DM Oli|
|00001850| 67 6f 6e 75 63 6c 65 6f | 74 69 64 65 20 44 61 74 |gonucleo|tide Dat|
|00001860| 61 62 61 73 65 22 2c c2 | 0d 74 72 75 65 2c 73 65 |abase",.|.true,se|
|00001870| 74 74 69 6e 67 73 2c 63 | 64 6e 61 6d 65 29 0d 0d |ttings,c|dname)..|
|00001880| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00001890| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|000018a0| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 63 61 |.exit to| hyperca|
|000018b0| 72 64 0d 0d 65 6c 73 65 | 20 69 66 20 6c 69 6e 65 |rd..else| if line|
|000018c0| 20 31 20 6f 66 20 69 74 | 20 69 73 20 22 4e 65 77 | 1 of it| is "New|
|000018d0| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 55 |" then.a|nswer "U|
|000018e0| 73 65 20 74 68 65 20 6f | 6c 69 67 6f 2d 63 61 6c |se the o|ligo-cal|
|000018f0| 63 75 6c 61 74 6f 72 20 | 6f 6e 20 74 68 65 20 66 |culator |on the f|
|00001900| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 74 68 69 |irst car|d of thi|
|00001910| 73 20 73 74 61 63 6b 20 | 74 6f 20 69 6e 70 75 74 |s stack |to input|
|00001920| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 21 22 0d 65 | informa|tion!".e|
|00001930| 78 69 74 20 74 6f 20 68 | 79 70 65 72 63 61 72 64 |xit to h|ypercard|
|00001940| 0d 65 6c 73 65 20 69 66 | 20 6c 69 6e 65 20 31 20 |.else if| line 1 |
|00001950| 6f 66 20 69 74 20 69 73 | 20 22 44 65 6c 65 74 65 |of it is| "Delete|
|00001960| 22 20 74 68 65 6e 0d 70 | 75 74 20 69 74 20 69 6e |" then.p|ut it in|
|00001970| 74 6f 20 68 6f 6c 64 65 | 72 0d 69 66 20 74 68 65 |to holde|r.if the|
|00001980| 20 63 6f 6d 6d 61 6e 64 | 6b 65 79 20 69 73 20 64 | command|key is d|
|00001990| 6f 77 6e 20 74 68 65 6e | 20 70 75 74 20 66 61 6c |own then| put fal|
|000019a0| 73 65 20 69 6e 74 6f 20 | 69 6e 66 6f 72 6d 0d 65 |se into |inform.e|
|000019b0| 6c 73 65 20 70 75 74 20 | 74 72 75 65 20 69 6e 74 |lse put |true int|
|000019c0| 6f 20 69 6e 66 6f 72 6d | 0d 69 66 20 74 68 65 20 |o inform|.if the |
|000019d0| 75 73 65 72 6c 65 76 65 | 6c 3c 35 20 74 68 65 6e |userleve|l<5 then|
|000019e0| 0d 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 |.play ha|rpsichor|
|000019f0| 64 20 32 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |d 2.exit| to Hype|
|00001a00| 72 63 61 72 64 0d 65 6c | 73 65 0d 70 75 74 20 74 |rcard.el|se.put t|
|00001a10| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00001a20| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 63 64 | this cd| into cd|
|00001a30| 6e 61 6d 65 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |name.loc|k screen|
|00001a40| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 32 |.repeat |with x=2|
|00001a50| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001a60| 66 20 6c 69 6e 65 73 20 | 6f 66 20 68 6f 6c 64 65 |f lines |of holde|
|00001a70| 72 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |r.put it|em 1 of |
|00001a80| 6c 69 6e 65 20 78 20 6f | 66 20 68 6f 6c 64 65 72 |line x o|f holder|
|00001a90| 20 69 6e 74 6f 20 64 65 | 6c 63 61 72 64 0d 69 66 | into de|lcard.if|
|00001aa0| 20 69 6e 66 6f 72 6d 20 | 69 73 20 74 72 75 65 20 | inform |is true |
|00001ab0| 74 68 65 6e 0d 70 6c 61 | 79 20 68 61 72 70 73 69 |then.pla|y harpsi|
|00001ac0| 63 68 6f 72 64 0d 69 66 | 20 74 68 65 20 6e 75 6d |chord.if| the num|
|00001ad0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00001ae0| 68 6f 6c 64 65 72 3e 32 | 20 61 6e 64 20 78 3c 74 |holder>2| and x<t|
|00001af0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001b00| 65 73 20 6f 66 20 68 6f | 6c 64 65 72 20 74 68 65 |es of ho|lder the|
|00001b10| 6e 0d 61 6e 73 77 65 72 | 20 22 41 72 65 20 79 6f |n.answer| "Are yo|
|00001b20| 75 20 73 75 72 65 20 79 | 6f 75 20 77 61 6e 74 20 |u sure y|ou want |
|00001b30| 74 6f 20 64 65 6c 65 74 | 65 20 22 26 64 65 6c 63 |to delet|e "&delc|
|00001b40| 61 72 64 26 22 20 3f 22 | 20 77 69 74 68 20 22 44 |ard&" ?"| with "D|
|00001b50| 65 6c 65 74 65 22 20 6f | 72 20 22 53 6b 69 70 22 |elete" o|r "Skip"|
|00001b60| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 65 6c 73 | or "Can|cel".els|
|00001b70| 65 20 61 6e 73 77 65 72 | 20 22 41 72 65 20 79 6f |e answer| "Are yo|
|00001b80| 75 20 73 75 72 65 20 79 | 6f 75 20 77 61 6e 74 20 |u sure y|ou want |
|00001b90| 74 6f 20 64 65 6c 65 74 | 65 20 22 26 64 65 6c 63 |to delet|e "&delc|
|00001ba0| 61 72 64 26 22 20 3f 22 | 20 77 69 74 68 20 22 44 |ard&" ?"| with "D|
|00001bb0| 65 6c 65 74 65 22 20 6f | 72 20 22 43 61 6e 63 65 |elete" o|r "Cance|
|00001bc0| 6c 22 0d 65 6c 73 65 20 | 70 75 74 20 22 64 65 6c |l".else |put "del|
|00001bd0| 65 74 65 22 20 69 6e 74 | 6f 20 69 74 0d 69 66 20 |ete" int|o it.if |
|00001be0| 69 74 20 69 73 20 22 64 | 65 6c 65 74 65 22 20 74 |it is "d|elete" t|
|00001bf0| 68 65 6e 0d 67 6f 20 74 | 6f 20 63 64 20 64 65 6c |hen.go t|o cd del|
|00001c00| 63 61 72 64 0d 64 65 6c | 74 61 63 64 0d 69 66 20 |card.del|tacd.if |
|00001c10| 64 65 6c 63 61 72 64 3d | 63 64 6e 61 6d 65 20 74 |delcard=|cdname t|
|00001c20| 68 65 6e 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 63 |hen.put |1 into c|
|00001c30| 64 6e 61 6d 65 0d 65 6e | 64 20 69 66 0d 65 6c 73 |dname.en|d if.els|
|00001c40| 65 20 69 66 20 69 74 20 | 69 73 20 22 63 61 6e 63 |e if it |is "canc|
|00001c50| 65 6c 22 20 74 68 65 6e | 0d 67 6f 20 74 6f 20 63 |el" then|.go to c|
|00001c60| 64 20 63 64 6e 61 6d 65 | 0d 65 78 69 74 20 74 6f |d cdname|.exit to|
|00001c70| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | Hyperca|rd.end i|
|00001c80| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 67 6f 20 |f.end re|peat.go |
|00001c90| 74 6f 20 63 64 20 63 64 | 6e 61 6d 65 0d 69 66 20 |to cd cd|name.if |
|00001ca0| 63 64 6e 61 6d 65 3d 31 | 20 74 68 65 6e 0d 75 6e |cdname=1| then.un|
|00001cb0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00001cc0| 20 76 69 73 75 61 6c 20 | 65 66 66 65 63 74 20 69 | visual |effect i|
|00001cd0| 72 69 73 20 63 6c 6f 73 | 65 0d 65 6e 64 20 69 66 |ris clos|e.end if|
|00001ce0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 70 75 74 |.end if.|else.put|
|00001cf0| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00001d00| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 63 64 6e |2 of it |into cdn|
|00001d10| 61 6d 65 0d 76 69 73 75 | 61 6c 20 65 66 66 65 63 |ame.visu|al effec|
|00001d20| 74 20 69 72 69 73 20 6f | 70 65 6e 0d 67 6f 20 74 |t iris o|pen.go t|
|00001d30| 6f 20 63 64 20 63 64 6e | 61 6d 65 0d 69 66 20 74 |o cd cdn|ame.if t|
|00001d40| 68 65 20 72 65 73 75 6c | 74 20 63 6f 6e 74 61 69 |he resul|t contai|
|00001d50| 6e 73 20 22 6e 6f 20 73 | 75 63 68 20 63 61 72 64 |ns "no s|uch card|
|00001d60| 22 20 74 68 65 6e 20 65 | 78 69 74 20 74 6f 20 68 |" then e|xit to h|
|00001d70| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|00001d80| 65 6e 64 20 66 69 6e 64 | 6f 6c 69 67 6f 0d 0d 6f |end find|oligo..o|
|00001d90| 6e 20 64 65 6c 74 61 63 | 64 0d 70 75 74 20 6c 69 |n deltac|d.put li|
|00001da0| 6e 65 20 31 20 6f 66 20 | 66 69 65 6c 64 20 31 20 |ne 1 of |field 1 |
|00001db0| 69 6e 74 6f 20 68 6f 6c | 64 65 72 0d 67 65 74 20 |into hol|der.get |
|00001dc0| 73 65 61 72 63 68 28 63 | 64 20 66 69 65 6c 64 20 |search(c|d field |
|00001dd0| 22 6f 6c 69 67 6f 69 6e | 64 65 78 22 20 6f 66 20 |"oligoin|dex" of |
|00001de0| 63 64 20 31 2c 68 6f 6c | 64 65 72 2c 74 72 75 65 |cd 1,hol|der,true|
|00001df0| 29 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 69 74 |).delete| line it|
|00001e00| 65 6d 20 31 20 6f 66 20 | 69 74 20 6f 66 20 63 64 |em 1 of |it of cd|
|00001e10| 20 66 69 65 6c 64 20 22 | 6f 6c 69 67 6f 69 6e 64 | field "|oligoind|
|00001e20| 65 78 22 20 6f 66 20 63 | 64 20 31 0d 64 6f 6d 65 |ex" of c|d 1.dome|
|00001e30| 6e 75 20 22 43 75 74 20 | 63 61 72 64 22 0d 65 6e |nu "Cut |card".en|
|00001e40| 64 20 64 65 6c 74 61 63 | 64 0d 0d 6f 6e 20 63 6f |d deltac|d..on co|
|00001e50| 6e 63 0d 70 75 74 20 65 | 78 74 72 61 63 74 28 22 |nc.put e|xtract("|
|00001e60| 41 47 43 54 22 2c 6c 6f | 77 65 72 74 6f 75 70 70 |AGCT",lo|wertoupp|
|00001e70| 65 72 28 6c 69 6e 65 20 | 32 20 74 6f 20 33 20 6f |er(line |2 to 3 o|
|00001e80| 66 20 62 67 20 66 6c 64 | 20 31 29 29 20 69 6e 74 |f bg fld| 1)) int|
|00001e90| 6f 20 73 65 71 0d 70 75 | 74 20 74 68 65 20 6c 65 |o seq.pu|t the le|
|00001ea0| 6e 67 74 68 20 6f 66 20 | 73 65 71 20 69 6e 74 6f |ngth of |seq into|
|00001eb0| 20 73 65 71 6c 65 6e 67 | 74 68 0d 61 73 6b 20 22 | seqleng|th.ask "|
|00001ec0| 57 68 61 74 20 69 73 20 | 74 68 65 20 4f 2e 44 20 |What is |the O.D |
|00001ed0| 28 32 36 30 6e 6d 29 20 | 6f 66 20 74 68 65 20 6f |(260nm) |of the o|
|00001ee0| 6c 69 67 6f 3f 22 0d 69 | 66 20 69 74 20 69 73 20 |ligo?".i|f it is |
|00001ef0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00001f00| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 65 6c 73 |to Hyper|card.els|
|00001f10| 65 20 70 75 74 20 69 74 | 20 69 6e 74 6f 20 74 65 |e put it| into te|
|00001f20| 6d 70 34 0d 70 75 74 20 | 74 68 65 20 6c 65 6e 67 |mp4.put |the leng|
|00001f30| 74 68 20 6f 66 20 65 78 | 74 72 61 63 74 28 22 41 |th of ex|tract("A|
|00001f40| 22 2c 73 65 71 29 20 69 | 6e 74 6f 20 41 63 6f 75 |",seq) i|nto Acou|
|00001f50| 6e 74 0d 70 75 74 20 74 | 68 65 20 6c 65 6e 67 74 |nt.put t|he lengt|
|00001f60| 68 20 6f 66 20 65 78 74 | 72 61 63 74 28 22 54 22 |h of ext|ract("T"|
|00001f70| 2c 73 65 71 29 20 69 6e | 74 6f 20 54 63 6f 75 6e |,seq) in|to Tcoun|
|00001f80| 74 0d 70 75 74 20 74 68 | 65 20 6c 65 6e 67 74 68 |t.put th|e length|
|00001f90| 20 6f 66 20 65 78 74 72 | 61 63 74 28 22 47 22 2c | of extr|act("G",|
|00001fa0| 73 65 71 29 20 69 6e 74 | 6f 20 47 63 6f 75 6e 74 |seq) int|o Gcount|
|00001fb0| 0d 70 75 74 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |.put the| length |
|00001fc0| 6f 66 20 65 78 74 72 61 | 63 74 28 22 43 22 2c 73 |of extra|ct("C",s|
|00001fd0| 65 71 29 20 69 6e 74 6f | 20 43 63 6f 75 6e 74 0d |eq) into| Ccount.|
|00001fe0| 70 75 74 20 41 63 6f 75 | 6e 74 2a 33 31 33 2b 54 |put Acou|nt*313+T|
|00001ff0| 63 6f 75 6e 74 2a 33 30 | 34 2b 47 63 6f 75 6e 74 |count*30|4+Gcount|
|00002000| 2a 33 32 39 2b 43 63 6f | 75 6e 74 2a 32 38 39 20 |*329+Cco|unt*289 |
|00002010| 69 6e 74 6f 20 4d 57 0d | 70 75 74 20 28 28 41 63 |into MW.|put ((Ac|
|00002020| 6f 75 6e 74 2a 31 35 2e | 33 29 20 2b 20 28 47 63 |ount*15.|3) + (Gc|
|00002030| 6f 75 6e 74 2a 39 2e 33 | 29 20 2b 20 28 43 63 6f |ount*9.3|) + (Cco|
|00002040| 75 6e 74 2a 37 2e 34 29 | 20 2b 20 c2 0d 28 54 63 |unt*7.4)| + ..(Tc|
|00002050| 6f 75 6e 74 2a 31 31 2e | 38 29 29 2f 73 65 71 6c |ount*11.|8))/seql|
|00002060| 65 6e 67 74 68 20 69 6e | 74 6f 20 65 78 74 69 6e |ength in|to extin|
|00002070| 63 74 69 6f 6e 0d 73 65 | 74 20 6e 75 6d 62 65 72 |ction.se|t number|
|00002080| 66 6f 72 6d 61 74 20 74 | 6f 20 22 30 2e 30 30 22 |format t|o "0.00"|
|00002090| 0d 70 75 74 20 72 65 74 | 75 72 6e 26 22 6d 67 2f |.put ret|urn&"mg/|
|000020a0| 6d 6c 20 3d 20 22 26 74 | 65 6d 70 34 2a 4d 57 2f |ml = "&t|emp4*MW/|
|000020b0| 28 73 65 71 6c 65 6e 67 | 74 68 2a 65 78 74 69 6e |(seqleng|th*extin|
|000020c0| 63 74 69 6f 6e 2a 31 30 | 30 30 29 26 22 3a 20 b5 |ction*10|00)&": .|
|000020d0| 4d 20 3d 22 26 20 c2 0d | 74 65 6d 70 34 2a 31 30 |M ="& ..|temp4*10|
|000020e0| 30 30 2f 28 73 65 71 6c | 65 6e 67 74 68 2a 65 78 |00/(seql|ength*ex|
|000020f0| 74 69 6e 63 74 69 6f 6e | 29 26 26 22 28 44 61 74 |tinction|)&&"(Dat|
|00002100| 65 3a 22 26 74 68 65 20 | 73 68 6f 72 74 20 64 61 |e:"&the |short da|
|00002110| 74 65 26 22 29 22 20 61 | 66 74 65 72 20 62 67 20 |te&")" a|fter bg |
|00002120| 66 6c 64 20 31 0d 65 6e | 64 20 63 6f 6e 63 0d 0d |fld 1.en|d conc..|
|00002130| 6f 6e 20 76 6f 69 63 65 | 76 65 72 69 66 69 63 61 |on voice|verifica|
|00002140| 74 69 6f 6e 20 77 68 69 | 63 68 6b 65 79 0d 67 6c |tion whi|chkey.gl|
|00002150| 6f 62 61 6c 20 57 48 49 | 43 48 4b 45 59 31 2c 57 |obal WHI|CHKEY1,W|
|00002160| 48 49 43 48 4b 45 59 32 | 2c 57 48 49 43 48 4b 45 |HICHKEY2|,WHICHKE|
|00002170| 59 33 2c 57 48 49 43 48 | 4b 45 59 36 2c 57 48 49 |Y3,WHICH|KEY6,WHI|
|00002180| 43 48 4b 45 59 45 4e 54 | 45 52 0d 70 75 74 20 22 |CHKEYENT|ER.put "|
|00002190| 32 38 2c 32 39 2c 33 30 | 2c 33 31 22 20 69 6e 74 |28,29,30|,31" int|
|000021a0| 6f 20 70 61 73 73 6b 65 | 79 73 0d 70 75 74 20 77 |o passke|ys.put w|
|000021b0| 6f 72 64 20 34 20 6f 66 | 20 74 68 65 20 73 65 6c |ord 4 of| the sel|
|000021c0| 65 63 74 65 64 63 68 75 | 6e 6b 2b 30 20 69 6e 74 |ectedchu|nk+0 int|
|000021d0| 6f 20 68 6f 6c 64 65 72 | 0d 70 75 74 20 63 68 61 |o holder|.put cha|
|000021e0| 72 74 6f 6e 75 6d 20 6f | 66 20 77 68 69 63 68 6b |rtonum o|f whichk|
|000021f0| 65 79 20 69 6e 74 6f 20 | 63 68 61 72 6b 65 79 0d |ey into |charkey.|
|00002200| 69 66 20 63 68 61 72 6b | 65 79 20 69 73 20 69 6e |if chark|ey is in|
|00002210| 20 70 61 73 73 6b 65 79 | 73 20 61 6e 64 20 74 68 | passkey|s and th|
|00002220| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 63 68 61 72 |e length| of char|
|00002230| 6b 65 79 3e 31 20 74 68 | 65 6e 20 70 61 73 73 20 |key>1 th|en pass |
|00002240| 76 6f 69 63 65 76 65 72 | 69 66 69 63 61 74 69 6f |voicever|ificatio|
|00002250| 6e 0d 65 6c 73 65 20 69 | 66 20 63 68 61 72 6b 65 |n.else i|f charke|
|00002260| 79 3d 38 20 6f 72 20 77 | 68 69 63 68 6b 65 79 3d |y=8 or w|hichkey=|
|00002270| 34 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 6c 65 |4 then.i|f the le|
|00002280| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 73 65 6c 65 |ngth of |the sele|
|00002290| 63 74 69 6f 6e 3e 31 20 | 74 68 65 6e 0d 70 75 74 |ction>1 |then.put|
|000022a0| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 73 | word 2 |of the s|
|000022b0| 65 6c 65 63 74 65 64 63 | 68 75 6e 6b 2b 30 20 69 |electedc|hunk+0 i|
|000022c0| 6e 74 6f 20 68 6f 6c 64 | 65 72 32 0d 70 75 74 20 |nto hold|er2.put |
|000022d0| 74 68 65 20 73 65 6c 65 | 63 74 65 64 63 68 75 6e |the sele|ctedchun|
|000022e0| 6b 20 69 6e 74 6f 20 64 | 65 6c 63 68 75 6e 6b 0d |k into d|elchunk.|
|000022f0| 64 65 6c 65 74 65 20 64 | 65 6c 63 68 75 6e 6b 0d |delete d|elchunk.|
|00002300| 73 65 6c 65 63 74 20 62 | 65 66 6f 72 65 20 63 68 |select b|efore ch|
|00002310| 61 72 20 68 6f 6c 64 65 | 72 32 20 6f 66 20 74 68 |ar holde|r2 of th|
|00002320| 65 20 74 61 72 67 65 74 | 0d 65 6c 73 65 0d 64 65 |e target|.else.de|
|00002330| 6c 65 74 65 20 63 68 61 | 72 20 68 6f 6c 64 65 72 |lete cha|r holder|
|00002340| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 0d 73 | of the |target.s|
|00002350| 65 6c 65 63 74 20 62 65 | 66 6f 72 65 20 63 68 61 |elect be|fore cha|
|00002360| 72 20 68 6f 6c 64 65 72 | 20 6f 66 20 74 68 65 20 |r holder| of the |
|00002370| 74 61 72 67 65 74 0d 65 | 6e 64 20 69 66 0d 69 66 |target.e|nd if.if|
|00002380| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002390| 68 69 73 20 63 64 3c 3e | 22 6f 6c 69 67 6f 69 6e |his cd<>|"oligoin|
|000023a0| 70 75 74 22 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |put" the|n.if the|
|000023b0| 20 69 63 6f 6e 20 6f 66 | 20 63 64 20 62 74 6e 20 | icon of| cd btn |
|000023c0| 69 64 20 22 36 39 22 20 | 3d 22 32 30 36 22 20 74 |id "69" |="206" t|
|000023d0| 68 65 6e 0d 70 6c 61 79 | 20 68 61 72 70 73 69 63 |hen.play| harpsic|
|000023e0| 68 6f 72 64 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |hord.end| if.else|
|000023f0| 20 69 66 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 | if the |icon of |
|00002400| 63 64 20 62 74 6e 20 69 | 64 20 22 31 33 31 22 3d |cd btn i|d "131"=|
|00002410| 22 32 30 36 22 20 74 68 | 65 6e 20 70 6c 61 79 20 |"206" th|en play |
|00002420| 68 61 72 70 73 69 63 68 | 6f 72 64 0d 65 78 69 74 |harpsich|ord.exit|
|00002430| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6c | to Hype|rcard.el|
|00002440| 73 65 20 69 66 20 77 68 | 69 63 68 6b 65 79 20 69 |se if wh|ichkey i|
|00002450| 73 20 22 31 22 20 74 68 | 65 6e 20 70 75 74 20 77 |s "1" th|en put w|
|00002460| 68 69 63 68 6b 65 79 31 | 20 69 6e 74 6f 20 6c 65 |hichkey1| into le|
|00002470| 74 74 65 72 0d 65 6c 73 | 65 20 69 66 20 77 68 69 |tter.els|e if whi|
|00002480| 63 68 6b 65 79 20 69 73 | 20 22 32 22 20 74 68 65 |chkey is| "2" the|
|00002490| 6e 20 70 75 74 20 77 68 | 69 63 68 6b 65 79 32 20 |n put wh|ichkey2 |
|000024a0| 69 6e 74 6f 20 6c 65 74 | 74 65 72 0d 65 6c 73 65 |into let|ter.else|
|000024b0| 20 69 66 20 77 68 69 63 | 68 6b 65 79 20 69 73 20 | if whic|hkey is |
|000024c0| 22 33 22 20 74 68 65 6e | 20 70 75 74 20 77 68 69 |"3" then| put whi|
|000024d0| 63 68 6b 65 79 33 20 69 | 6e 74 6f 20 6c 65 74 74 |chkey3 i|nto lett|
|000024e0| 65 72 0d 65 6c 73 65 20 | 69 66 20 77 68 69 63 68 |er.else |if which|
|000024f0| 6b 65 79 20 69 73 20 22 | 36 22 20 74 68 65 6e 20 |key is "|6" then |
|00002500| 70 75 74 20 77 68 69 63 | 68 6b 65 79 36 20 69 6e |put whic|hkey6 in|
|00002510| 74 6f 20 6c 65 74 74 65 | 72 0d 65 6c 73 65 20 69 |to lette|r.else i|
|00002520| 66 20 63 68 61 72 6b 65 | 79 3d 33 20 74 68 65 6e |f charke|y=3 then|
|00002530| 20 70 75 74 20 77 68 69 | 63 68 6b 65 79 65 6e 74 | put whi|chkeyent|
|00002540| 65 72 20 69 6e 74 6f 20 | 6c 65 74 74 65 72 0d 65 |er into |letter.e|
|00002550| 6c 73 65 20 70 75 74 20 | 77 68 69 63 68 6b 65 79 |lse put |whichkey|
|00002560| 20 69 6e 74 6f 20 6c 65 | 74 74 65 72 0d 69 66 20 | into le|tter.if |
|00002570| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00002580| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 22 6f 6c |f this c|d is "ol|
|00002590| 69 67 6f 69 6e 70 75 74 | 22 20 74 68 65 6e 0d 69 |igoinput|" then.i|
|000025a0| 66 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 63 64 |f the ic|on of cd|
|000025b0| 20 62 74 6e 20 69 64 20 | 22 31 33 31 22 3d 22 32 | btn id |"131"="2|
|000025c0| 30 36 22 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |06" then|.put tru|
|000025d0| 65 20 69 6e 74 6f 20 72 | 65 61 64 62 61 63 6b 0d |e into r|eadback.|
|000025e0| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 69 66 20 74 |end if.e|lse if t|
|000025f0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 63 64 20 62 74 |he icon |of cd bt|
|00002600| 6e 20 69 64 20 22 36 39 | 22 3d 22 32 30 36 22 20 |n id "69|"="206" |
|00002610| 74 68 65 6e 20 70 75 74 | 20 74 72 75 65 20 69 6e |then put| true in|
|00002620| 74 6f 20 72 65 61 64 62 | 61 63 6b 0d 74 79 70 65 |to readb|ack.type|
|00002630| 20 6c 65 74 74 65 72 0d | 69 66 20 72 65 61 64 62 | letter.|if readb|
|00002640| 61 63 6b 3d 22 74 72 75 | 65 22 20 74 68 65 6e 20 |ack="tru|e" then |
|00002650| 70 6c 61 79 20 6c 65 74 | 74 65 72 0d 73 65 6c 65 |play let|ter.sele|
|00002660| 63 74 20 61 66 74 65 72 | 20 63 68 61 72 20 68 6f |ct after| char ho|
|00002670| 6c 64 65 72 2b 31 20 6f | 66 20 74 68 65 20 74 61 |lder+1 o|f the ta|
|00002680| 72 67 65 74 0d 65 6e 64 | 20 76 6f 69 63 65 76 65 |rget.end| voiceve|
|00002690| 72 69 66 69 63 61 74 69 | 6f 6e 0d 0d 6f 6e 20 54 |rificati|on..on T|
|000026a0| 6d 20 73 65 71 0d 67 6c | 6f 62 61 6c 20 48 65 6c |m seq.gl|obal Hel|
|000026b0| 70 6f 6c 64 63 64 0d 70 | 75 74 20 22 41 47 43 54 |poldcd.p|ut "AGCT|
|000026c0| 22 20 69 6e 74 6f 20 6c | 6f 67 0d 70 75 74 20 22 |" into l|og.put "|
|000026d0| 41 47 43 54 61 67 63 74 | 20 22 26 72 65 74 75 72 |AGCTagct| "&retur|
|000026e0| 6e 20 69 6e 74 6f 20 76 | 61 6c 69 64 63 68 61 72 |n into v|alidchar|
|000026f0| 73 0d 70 75 74 20 22 50 | 43 52 2c 43 68 6f 6f 73 |s.put "P|CR,Choos|
|00002700| 65 20 70 72 69 6d 65 72 | 22 20 69 6e 74 6f 20 77 |e primer|" into w|
|00002710| 72 6f 6e 67 74 61 72 67 | 65 74 0d 70 75 74 20 22 |rongtarg|et.put "|
|00002720| 50 43 52 2c 43 68 6f 6f | 73 65 20 70 72 69 6d 65 |PCR,Choo|se prime|
|00002730| 72 2c 43 6f 6e 63 2c 25 | 47 43 2c 49 6e 70 75 74 |r,Conc,%|GC,Input|
|00002740| 2c 53 69 7a 65 2c 4d 57 | 22 20 69 6e 74 6f 20 77 |,Size,MW|" into w|
|00002750| 72 6f 6e 67 74 61 72 67 | 65 74 32 0d 0d 69 66 20 |rongtarg|et2..if |
|00002760| 73 65 71 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |seq is e|mpty the|
|00002770| 6e 20 70 75 74 20 63 64 | 20 66 6c 64 20 22 6f 6c |n put cd| fld "ol|
|00002780| 69 67 6f 69 6e 70 75 74 | 22 20 69 6e 74 6f 20 73 |igoinput|" into s|
|00002790| 65 71 0d 69 66 20 74 68 | 65 20 74 61 72 67 65 74 |eq.if th|e target|
|000027a0| 20 63 6f 6e 74 61 69 6e | 73 20 22 50 43 52 22 20 | contain|s "PCR" |
|000027b0| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 0d 70 75 |is false| then.pu|
|000027c0| 74 20 73 74 72 69 70 28 | 76 61 6c 69 64 63 68 61 |t strip(|validcha|
|000027d0| 72 73 2c 73 65 71 29 20 | 69 6e 74 6f 20 69 6e 76 |rs,seq) |into inv|
|000027e0| 61 6c 69 64 63 68 61 72 | 73 0d 69 66 20 69 6e 76 |alidchar|s.if inv|
|000027f0| 61 6c 69 64 63 68 61 72 | 73 20 69 73 20 6e 6f 74 |alidchar|s is not|
|00002800| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 6c 61 79 | empty t|hen.play|
|00002810| 20 68 61 72 70 73 69 63 | 68 6f 72 64 0d 61 6e 73 | harpsic|hord.ans|
|00002820| 77 65 72 20 22 49 6e 76 | 61 6c 69 64 20 63 68 61 |wer "Inv|alid cha|
|00002830| 72 61 63 74 65 72 73 20 | 75 73 65 64 2e 20 22 0d |racters |used. ".|
|00002840| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00002850| 64 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 65 78 74 |d.end if|.put ext|
|00002860| 72 61 63 74 28 6c 6f 67 | 2c 6c 6f 77 65 72 74 6f |ract(log|,lowerto|
|00002870| 75 70 70 65 72 28 73 65 | 71 29 29 20 69 6e 74 6f |upper(se|q)) into|
|00002880| 20 73 65 71 0d 69 66 20 | 63 6f 75 6e 74 65 72 3c | seq.if |counter<|
|00002890| 3e 31 20 74 68 65 6e 0d | 70 75 74 20 22 6f 6e 22 |>1 then.|put "on"|
|000028a0| 20 69 6e 74 6f 20 68 6f | 6c 64 65 72 0d 70 75 74 | into ho|lder.put|
|000028b0| 20 64 69 61 6c 6f 67 65 | 72 20 28 22 54 6d 65 71 | dialoge|r ("Tmeq|
|000028c0| 75 61 74 69 6f 6e 73 22 | 26 72 65 74 75 72 6e 26 |uations"|&return&|
|000028d0| 22 6f 6e 20 54 6d 48 69 | 74 22 2c 22 33 d7 54 72 |"on TmHi|t","3.Tr|
|000028e0| 75 65 22 c2 0d 2c 22 38 | d7 73 74 79 6c 65 64 74 |ue"..,"8|.styledt|
|000028f0| 65 78 74 20 43 68 69 63 | 61 67 6f 2c 31 32 2c 49 |ext Chic|ago,12,I|
|00002900| 22 c2 0d 2c 22 31 32 d7 | 73 74 79 6c 65 64 74 65 |"..,"12.|styledte|
|00002910| 78 74 20 43 68 69 63 61 | 67 6f 2c 31 32 2c 49 22 |xt Chica|go,12,I"|
|00002920| 29 20 69 6e 74 6f 20 64 | 52 65 73 75 6c 74 0d 70 |) into d|Result.p|
|00002930| 75 74 20 31 20 69 6e 74 | 6f 20 63 6f 75 6e 74 65 |ut 1 int|o counte|
|00002940| 72 0d 69 66 20 64 52 65 | 73 75 6c 74 20 63 6f 6e |r.if dRe|sult con|
|00002950| 74 61 69 6e 73 20 22 63 | 61 6e 63 65 6c 22 20 74 |tains "c|ancel" t|
|00002960| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 48 79 70 65 |hen exit| to Hype|
|00002970| 72 63 61 72 64 0d 65 6c | 73 65 0d 69 66 20 6c 69 |rcard.el|se.if li|
|00002980| 6e 65 20 36 20 6f 66 20 | 64 52 65 73 75 6c 74 3d |ne 6 of |dResult=|
|00002990| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 73 65 74 20 |"true" t|hen.set |
|000029a0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|000029b0| 70 75 74 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d |put the |long nam|
|000029c0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |e of thi|s cd int|
|000029d0| 6f 20 68 65 6c 70 6f 6c | 64 63 64 0d 6c 6f 63 6b |o helpol|dcd.lock|
|000029e0| 74 68 69 6e 67 73 0d 67 | 6f 20 74 6f 20 63 64 20 |things.g|o to cd |
|000029f0| 22 54 68 65 20 4f 6c 69 | 67 6f 20 44 61 74 61 62 |"The Oli|go Datab|
|00002a00| 61 73 65 22 20 6f 66 20 | 73 74 61 63 6b 20 22 44 |ase" of |stack "D|
|00002a10| 61 74 61 6d 69 6e 64 65 | 72 48 65 6c 70 22 0d 69 |ataminde|rHelp".i|
|00002a20| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00002a30| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00002a40| 6c 61 79 20 68 61 72 70 | 73 69 63 68 6f 72 64 0d |lay harp|sichord.|
|00002a50| 61 6e 73 77 65 72 20 22 | 54 68 65 20 48 65 6c 70 |answer "|The Help|
|00002a60| 20 73 74 61 63 6b 20 69 | 73 20 63 75 72 72 65 6e | stack i|s curren|
|00002a70| 74 6c 79 20 75 6e 61 76 | 61 69 6c 61 62 6c 65 22 |tly unav|ailable"|
|00002a80| 0d 65 78 69 74 20 74 6f | 20 48 79 70 65 72 63 61 |.exit to| Hyperca|
|00002a90| 72 64 0d 65 6c 73 65 0d | 75 6e 6c 6f 63 6b 20 73 |rd.else.|unlock s|
|00002aa0| 63 72 65 65 6e 20 77 69 | 74 68 20 76 69 73 75 61 |creen wi|th visua|
|00002ab0| 6c 20 65 66 66 65 63 74 | 20 69 72 69 73 20 6f 70 |l effect| iris op|
|00002ac0| 65 6e 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en.exit |to Hyper|
|00002ad0| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |card.end| if.else|
|00002ae0| 20 69 66 20 6c 69 6e 65 | 20 33 20 6f 66 20 64 52 | if line| 3 of dR|
|00002af0| 65 73 75 6c 74 3d 22 74 | 72 75 65 22 20 74 68 65 |esult="t|rue" the|
|00002b00| 6e 20 73 75 67 67 73 20 | 73 65 71 0d 65 6c 73 65 |n suggs |seq.else|
|00002b10| 20 69 66 20 6c 69 6e 65 | 20 34 20 6f 66 20 64 52 | if line| 4 of dR|
|00002b20| 65 73 75 6c 74 3d 22 74 | 72 75 65 22 20 74 68 65 |esult="t|rue" the|
|00002b30| 6e 20 52 79 63 68 6c 69 | 6b 20 73 65 71 0d 65 6c |n Rychli|k seq.el|
|00002b40| 73 65 20 69 66 20 6c 69 | 6e 65 20 35 20 6f 66 20 |se if li|ne 5 of |
|00002b50| 64 52 65 73 75 6c 74 3d | 22 74 72 75 65 22 20 74 |dResult=|"true" t|
|00002b60| 68 65 6e 20 4d 63 43 6f | 6e 61 75 67 68 79 20 73 |hen McCo|naughy s|
|00002b70| 65 71 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |eq.end i|f.end if|
|00002b80| 0d 65 6c 73 65 20 72 79 | 63 68 6c 69 6b 20 73 65 |.else ry|chlik se|
|00002b90| 71 0d 70 75 74 20 74 68 | 65 20 72 65 73 75 6c 74 |q.put th|e result|
|00002ba0| 20 69 6e 74 6f 20 54 6d | 0d 72 65 74 75 72 6e 20 | into Tm|.return |
|00002bb0| 54 6d 0d 65 6e 64 20 54 | 6d 0d 0d 6f 6e 20 4d 63 |Tm.end T|m..on Mc|
|00002bc0| 43 6f 6e 61 75 67 68 79 | 20 73 65 71 2c 4d 0d 69 |Conaughy| seq,M.i|
|00002bd0| 66 20 4d 3c 3e 30 2e 30 | 35 20 74 68 65 6e 0d 70 |f M<>0.0|5 then.p|
|00002be0| 75 74 20 64 69 61 6c 6f | 67 65 72 20 28 22 4d 63 |ut dialo|ger ("Mc|
|00002bf0| 43 6f 6e 61 75 67 68 79 | 20 65 74 2e 20 61 6c 2e |Conaughy| et. al.|
|00002c00| 22 26 72 65 74 75 72 6e | 26 22 6f 6e 20 4d 48 69 |"&return|&"on MHi|
|00002c10| 74 22 c2 0d 2c 22 33 d7 | 30 2e 33 22 29 20 69 6e |t"..,"3.|0.3") in|
|00002c20| 74 6f 20 64 52 65 73 75 | 6c 74 0d 69 66 20 64 52 |to dResu|lt.if dR|
|00002c30| 65 73 75 6c 74 20 63 6f | 6e 74 61 69 6e 73 20 22 |esult co|ntains "|
|00002c40| 63 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |cancel" |then exi|
|00002c50| 74 20 74 6f 20 48 79 70 | 65 72 63 61 72 64 0d 70 |t to Hyp|ercard.p|
|00002c60| 75 74 20 73 74 72 69 70 | 28 22 4d 6d 22 2c 6c 69 |ut strip|("Mm",li|
|00002c70| 6e 65 20 33 20 6f 66 20 | 64 52 65 73 75 6c 74 29 |ne 3 of |dResult)|
|00002c80| 20 69 6e 74 6f 20 4d 0d | 70 75 74 20 73 74 72 69 | into M.|put stri|
|00002c90| 70 28 22 25 22 2c 6c 69 | 6e 65 20 35 20 6f 66 20 |p("%",li|ne 5 of |
|00002ca0| 64 52 65 73 75 6c 74 29 | 20 69 6e 74 6f 20 50 6d |dResult)| into Pm|
|00002cb0| 0d 70 75 74 20 73 74 72 | 69 70 28 22 25 22 2c 6c |.put str|ip("%",l|
|00002cc0| 69 6e 65 20 34 20 6f 66 | 20 64 52 65 73 75 6c 74 |ine 4 of| dResult|
|00002cd0| 29 20 69 6e 74 6f 20 50 | 66 0d 65 6c 73 65 0d 70 |) into P|f.else.p|
|00002ce0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 50 6d |ut empty| into Pm|
|00002cf0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002d00| 50 66 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 74 68 |Pf.end i|f.put th|
|00002d10| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 73 65 71 20 |e length| of seq |
|00002d20| 69 6e 74 6f 20 6c 65 6e | 67 74 68 0d 69 66 20 6c |into len|gth.if l|
|00002d30| 65 6e 67 74 68 20 3c 20 | 31 30 31 20 74 68 65 6e |ength < |101 then|
|00002d40| 20 70 75 74 20 36 37 35 | 20 69 6e 74 6f 20 42 0d | put 675| into B.|
|00002d50| 69 66 20 6c 65 6e 67 74 | 68 20 3e 20 31 30 30 20 |if lengt|h > 100 |
|00002d60| 74 68 65 6e 20 70 75 74 | 20 35 30 30 20 69 6e 74 |then put| 500 int|
|00002d70| 6f 20 42 0d 70 75 74 20 | 74 68 65 20 6c 65 6e 67 |o B.put |the leng|
|00002d80| 74 68 20 6f 66 20 65 78 | 74 72 61 63 74 28 22 47 |th of ex|tract("G|
|00002d90| 43 22 2c 73 65 71 29 20 | 69 6e 74 6f 20 47 43 0d |C",seq) |into GC.|
|00002da0| 69 66 20 47 43 3e 30 20 | 74 68 65 6e 20 70 75 74 |if GC>0 |then put|
|00002db0| 20 47 43 2a 31 30 30 2f | 6c 65 6e 67 74 68 20 69 | GC*100/|length i|
|00002dc0| 6e 74 6f 20 47 43 32 0d | 65 6c 73 65 20 70 75 74 |nto GC2.|else put|
|00002dd0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 47 43 32 0d | empty i|nto GC2.|
|00002de0| 70 75 74 20 73 74 72 69 | 70 28 22 4d 22 2c 4d 29 |put stri|p("M",M)|
|00002df0| 20 69 6e 74 6f 20 4d 0d | 70 75 74 20 6c 6e 28 4d | into M.|put ln(M|
|00002e00| 29 2f 32 2e 33 20 69 6e | 74 6f 20 4d 32 0d 73 65 |)/2.3 in|to M2.se|
|00002e10| 74 20 6e 75 6d 62 65 72 | 66 6f 72 6d 61 74 20 74 |t number|format t|
|00002e20| 6f 20 30 2e 30 0d 70 75 | 74 20 28 28 31 36 2e 36 |o 0.0.pu|t ((16.6|
|00002e30| 2a 4d 32 29 2b 28 30 2e | 34 31 2a 47 43 32 29 2b |*M2)+(0.|41*GC2)+|
|00002e40| 38 31 2e 35 29 2d 28 50 | 6d 2b 28 42 2f 6c 65 6e |81.5)-(P|m+(B/len|
|00002e50| 67 74 68 29 2b 28 50 66 | 2a 30 2e 36 35 29 29 20 |gth)+(Pf|*0.65)) |
|00002e60| 69 6e 74 6f 20 54 6d 0d | 70 75 74 20 22 fb 43 20 |into Tm.|put ".C |
|00002e70| 28 22 26 4d 26 22 4d 20 | 4e 61 2b 22 20 61 66 74 |("&M&"M |Na+" aft|
|00002e80| 65 72 20 54 6d 0d 69 66 | 20 50 66 3e 30 20 74 68 |er Tm.if| Pf>0 th|
|00002e90| 65 6e 20 70 75 74 20 22 | 3b 22 26 50 66 26 22 25 |en put "|;"&Pf&"%|
|00002ea0| 20 66 6f 72 6d 61 6d 69 | 64 65 3b 20 22 26 50 6d | formami|de; "&Pm|
|00002eb0| 26 22 25 20 6d 69 73 6d | 61 74 63 68 22 20 61 66 |&"% mism|atch" af|
|00002ec0| 74 65 72 20 54 6d 0d 70 | 75 74 20 22 3b 20 4d 63 |ter Tm.p|ut "; Mc|
|00002ed0| 43 6f 6e 61 75 67 68 79 | 20 65 74 20 61 6c 2e 29 |Conaughy| et al.)|
|00002ee0| 22 20 61 66 74 65 72 20 | 54 6d 0d 72 65 74 75 72 |" after |Tm.retur|
|00002ef0| 6e 20 54 6d 0d 65 6e 64 | 20 4d 63 43 6f 6e 61 75 |n Tm.end| McConau|
|00002f00| 67 68 79 0d 0d 6f 6e 20 | 52 79 63 68 6c 69 6b 20 |ghy..on |Rychlik |
|00002f10| 73 65 71 2c 4d 2c 43 0d | 2d 2d 63 61 6c 63 75 6c |seq,M,C.|--calcul|
|00002f20| 61 74 69 6f 6e 20 6f 66 | 20 54 64 20 62 61 73 65 |ation of| Td base|
|00002f30| 64 20 6f 6e 20 6e 65 61 | 72 65 73 74 20 6e 65 69 |d on nea|rest nei|
|00002f40| 67 68 62 6f 75 72 20 61 | 6e 61 6c 79 73 69 73 c2 |ghbour a|nalysis.|
|00002f50| 0d 2d 2d 28 52 79 63 68 | 6c 69 6b 20 61 6e 64 20 |.--(Rych|lik and |
|00002f60| 52 68 6f 61 64 73 2c 20 | 4e 41 52 20 31 37 28 38 |Rhoads, |NAR 17(8|
|00002f70| 35 34 33 2d 38 35 35 31 | 29 0d 73 65 74 20 63 75 |543-8551|).set cu|
|00002f80| 72 73 6f 72 20 74 6f 20 | 22 44 4e 41 20 31 22 0d |rsor to |"DNA 1".|
|00002f90| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 73 |put empt|y into s|
|00002fa0| 65 71 32 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |eq2.put |empty in|
|00002fb0| 74 6f 20 44 48 0d 70 75 | 74 20 31 30 2e 38 20 69 |to DH.pu|t 10.8 i|
|00002fc0| 6e 74 6f 20 44 53 0d 70 | 75 74 20 22 41 41 2c 54 |nto DS.p|ut "AA,T|
|00002fd0| 54 2c 39 2e 31 2c 32 34 | 22 26 72 65 74 75 72 6e |T,9.1,24|"&return|
|00002fe0| 26 c2 0d 22 41 54 2c 59 | 59 2c 38 2e 36 2c 32 33 |&.."AT,Y|Y,8.6,23|
|00002ff0| 2e 39 22 26 72 65 74 75 | 72 6e 26 c2 0d 22 54 41 |.9"&retu|rn&.."TA|
|00003000| 2c 59 59 2c 36 2e 30 2c | 31 36 2e 39 22 26 72 65 |,YY,6.0,|16.9"&re|
|00003010| 74 75 72 6e 26 c2 0d 22 | 43 41 2c 54 47 2c 35 2e |turn&.."|CA,TG,5.|
|00003020| 38 2c 31 32 2e 39 22 26 | 72 65 74 75 72 6e 26 c2 |8,12.9"&|return&.|
|00003030| 0d 22 47 54 2c 41 43 2c | 36 2e 35 2c 31 37 2e 33 |."GT,AC,|6.5,17.3|
|00003040| 22 26 72 65 74 75 72 6e | 26 c2 0d 22 43 54 2c 41 |"&return|&.."CT,A|
|00003050| 47 2c 37 2e 38 2c 32 30 | 2e 38 22 26 72 65 74 75 |G,7.8,20|.8"&retu|
|00003060| 72 6e 26 c2 0d 22 47 41 | 2c 54 43 2c 35 2e 36 2c |rn&.."GA|,TC,5.6,|
|00003070| 31 33 2e 35 22 26 72 65 | 74 75 72 6e 26 c2 0d 22 |13.5"&re|turn&.."|
|00003080| 43 47 2c 59 59 2c 31 31 | 2e 39 2c 32 37 2e 38 22 |CG,YY,11|.9,27.8"|
|00003090| 26 72 65 74 75 72 6e 26 | c2 0d 22 47 43 2c 59 59 |&return&|.."GC,YY|
|000030a0| 2c 31 31 2e 31 2c 32 36 | 2e 37 22 26 72 65 74 75 |,11.1,26|.7"&retu|
|000030b0| 72 6e 26 c2 0d 22 47 47 | 2c 43 43 2c 31 31 2c 32 |rn&.."GG|,CC,11,2|
|000030c0| 36 2e 36 22 20 69 6e 74 | 6f 20 4e 4e 73 65 74 0d |6.6" int|o NNset.|
|000030d0| 73 65 74 20 6e 75 6d 62 | 65 72 66 6f 72 6d 61 74 |set numb|erformat|
|000030e0| 20 74 6f 20 30 2e 30 30 | 30 30 30 30 30 30 30 30 | to 0.00|00000000|
|000030f0| 30 0d 69 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |0.if the| target |
|00003100| 63 6f 6e 74 61 69 6e 73 | 20 22 50 43 52 22 20 69 |contains| "PCR" i|
|00003110| 73 20 66 61 6c 73 65 20 | 61 6e 64 c2 0d 74 68 65 |s false |and..the|
|00003120| 20 74 61 72 67 65 74 20 | 63 6f 6e 74 61 69 6e 73 | target |contains|
|00003130| 20 22 43 68 6f 6f 73 65 | 22 20 69 73 20 66 61 6c | "Choose|" is fal|
|00003140| 73 65 20 61 6e 64 20 4d | 3c 3e 30 2e 30 35 20 74 |se and M|<>0.05 t|
|00003150| 68 65 6e 0d 70 75 74 20 | 64 69 61 6c 6f 67 65 72 |hen.put |dialoger|
|00003160| 28 22 52 79 63 68 6c 69 | 6b 20 61 6e 64 20 52 68 |("Rychli|k and Rh|
|00003170| 6f 61 64 73 22 26 72 65 | 74 75 72 6e 26 22 6f 6e |oads"&re|turn&"on|
|00003180| 20 52 52 48 69 74 22 c2 | 0d 2c 22 33 d7 74 72 75 | RRHit".|.,"3.tru|
|00003190| 65 22 29 20 69 6e 74 6f | 20 64 52 65 73 75 6c 74 |e") into| dResult|
|000031a0| 0d 69 66 20 64 52 65 73 | 75 6c 74 20 63 6f 6e 74 |.if dRes|ult cont|
|000031b0| 61 69 6e 73 20 22 63 61 | 6e 63 65 6c 22 20 74 68 |ains "ca|ncel" th|
|000031c0| 65 6e 20 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en exit |to Hyper|
|000031d0| 63 61 72 64 0d 69 66 20 | 6c 69 6e 65 20 33 20 6f |card.if |line 3 o|
|000031e0| 66 20 64 52 65 73 75 6c | 74 3d 22 74 72 75 65 22 |f dResul|t="true"|
|000031f0| 20 74 68 65 6e 20 70 75 | 74 20 30 2e 30 30 30 30 | then pu|t 0.0000|
|00003200| 30 30 30 30 30 32 35 20 | 69 6e 74 6f 20 43 0d 65 |0000025 |into C.e|
|00003210| 6c 73 65 20 70 75 74 20 | 30 2e 30 30 30 30 30 30 |lse put |0.000000|
|00003220| 30 30 30 31 30 20 69 6e | 74 6f 20 43 0d 70 75 74 |00010 in|to C.put|
|00003230| 20 73 74 72 69 70 28 22 | 4d 6d 22 2c 6c 69 6e 65 | strip("|Mm",line|
|00003240| 20 35 20 6f 66 20 64 52 | 65 73 75 6c 74 29 20 69 | 5 of dR|esult) i|
|00003250| 6e 74 6f 20 4d 0d 65 6c | 73 65 0d 70 75 74 20 30 |nto M.el|se.put 0|
|00003260| 2e 30 30 30 30 30 30 30 | 30 30 32 35 20 69 6e 74 |.0000000|0025 int|
|00003270| 6f 20 43 0d 70 75 74 20 | 30 2e 30 35 20 69 6e 74 |o C.put |0.05 int|
|00003280| 6f 20 4d 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 6c |o M.end |if.put l|
|00003290| 6e 28 4d 29 2f 32 2e 33 | 20 69 6e 74 6f 20 4d 32 |n(M)/2.3| into M2|
|000032a0| 0d 70 75 74 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |.put the| length |
|000032b0| 6f 66 20 65 78 74 72 61 | 63 74 28 22 41 2c 54 22 |of extra|ct("A,T"|
|000032c0| 2c 73 65 71 29 20 69 6e | 74 6f 20 41 54 0d 70 75 |,seq) in|to AT.pu|
|000032d0| 74 20 74 68 65 20 6c 65 | 6e 67 74 68 20 6f 66 20 |t the le|ngth of |
|000032e0| 65 78 74 72 61 63 74 28 | 22 47 2c 43 22 2c 73 65 |extract(|"G,C",se|
|000032f0| 71 29 20 69 6e 74 6f 20 | 47 43 0d 73 65 74 20 63 |q) into |GC.set c|
|00003300| 75 72 73 6f 72 20 74 6f | 20 22 44 4e 41 20 32 22 |ursor to| "DNA 2"|
|00003310| 0d 70 75 74 20 32 20 69 | 6e 74 6f 20 6c 61 73 74 |.put 2 i|nto last|
|00003320| 44 4e 41 0d 2d 2d 67 65 | 6e 65 72 61 74 65 20 63 |DNA.--ge|nerate c|
|00003330| 6f 6d 70 6c 65 6d 65 6e | 74 20 6f 66 20 73 65 71 |omplemen|t of seq|
|00003340| 0d 67 6c 6f 62 61 6c 20 | 72 63 69 6e 2c 72 63 6f |.global |rcin,rco|
|00003350| 75 74 2c 72 6e 61 0d 70 | 75 74 20 73 65 71 20 69 |ut,rna.p|ut seq i|
|00003360| 6e 74 6f 20 72 63 69 6e | 0d 70 75 74 20 22 44 4e |nto rcin|.put "DN|
|00003370| 41 22 20 69 6e 74 6f 20 | 6e 75 63 74 79 70 65 0d |A" into |nuctype.|
|00003380| 70 75 74 20 72 65 76 65 | 72 73 65 53 74 72 69 6e |put reve|rseStrin|
|00003390| 67 28 72 63 69 6e 29 20 | 69 6e 74 6f 20 72 63 6f |g(rcin) |into rco|
|000033a0| 75 74 0d 70 75 74 20 22 | 54 41 41 43 47 22 20 69 |ut.put "|TAACG" i|
|000033b0| 6e 74 6f 20 74 6f 53 74 | 72 0d 70 75 74 20 74 72 |nto toSt|r.put tr|
|000033c0| 61 6e 73 6c 69 74 28 22 | 61 74 75 67 63 41 54 55 |anslit("|atugcATU|
|000033d0| 47 43 22 2c 20 74 6f 53 | 74 72 20 26 20 74 6f 53 |GC", toS|tr & toS|
|000033e0| 74 72 2c 20 72 63 6f 75 | 74 29 20 69 6e 74 6f 20 |tr, rcou|t) into |
|000033f0| 72 63 6f 75 74 0d 70 75 | 74 20 74 72 61 6e 73 6c |rcout.pu|t transl|
|00003400| 69 74 28 22 c2 41 54 55 | 47 43 2e 6e 22 2c 20 22 |it(".ATU|GC.n", "|
|00003410| 20 22 2c 20 72 63 6f 75 | 74 29 20 69 6e 74 6f 20 | ", rcou|t) into |
|00003420| 72 63 6f 75 74 0d 70 75 | 74 20 72 63 6f 75 74 20 |rcout.pu|t rcout |
|00003430| 69 6e 74 6f 20 73 65 71 | 32 0d 0d 69 66 20 72 6f |into seq|2..if ro|
|00003440| 75 6e 64 28 74 68 65 20 | 6c 65 6e 67 74 68 20 6f |und(the |length o|
|00003450| 66 20 73 65 71 32 2f 32 | 29 3d 74 68 65 20 6c 65 |f seq2/2|)=the le|
|00003460| 6e 67 74 68 20 6f 66 20 | 73 65 71 32 2f 32 20 74 |ngth of |seq2/2 t|
|00003470| 68 65 6e 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |hen.dele|te char |
|00003480| 31 20 6f 66 20 73 65 71 | 32 0d 64 65 6c 65 74 65 |1 of seq|2.delete|
|00003490| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 73 65 | last ch|ar of se|
|000034a0| 71 32 0d 65 6c 73 65 20 | 64 65 6c 65 74 65 20 6c |q2.else |delete l|
|000034b0| 61 73 74 20 63 68 61 72 | 20 6f 66 20 73 65 71 0d |ast char| of seq.|
|000034c0| 0d 70 75 74 20 73 65 71 | 26 22 2c 22 26 73 65 71 |.put seq|&","&seq|
|000034d0| 32 20 69 6e 74 6f 20 73 | 65 71 73 65 74 0d 73 65 |2 into s|eqset.se|
|000034e0| 74 20 6e 75 6d 62 65 72 | 66 6f 72 6d 61 74 20 74 |t number|format t|
|000034f0| 6f 20 30 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |o 0.repe|at with |
|00003500| 78 3d 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |x=1 to t|he numbe|
|00003510| 72 20 6f 66 20 69 74 65 | 6d 73 20 69 6e 20 73 65 |r of ite|ms in se|
|00003520| 71 73 65 74 0d 70 75 74 | 20 69 74 65 6d 20 78 20 |qset.put| item x |
|00003530| 6f 66 20 73 65 71 73 65 | 74 20 69 6e 74 6f 20 73 |of seqse|t into s|
|00003540| 65 71 74 65 73 74 0d 70 | 75 74 20 74 68 65 20 6c |eqtest.p|ut the l|
|00003550| 65 6e 67 74 68 20 6f 66 | 20 73 65 71 74 65 73 74 |ength of| seqtest|
|00003560| 20 69 6e 74 6f 20 6c 65 | 6e 67 74 68 0d 72 65 70 | into le|ngth.rep|
|00003570| 65 61 74 20 77 69 74 68 | 20 78 3d 31 20 74 6f 20 |eat with| x=1 to |
|00003580| 72 6f 75 6e 64 28 6c 65 | 6e 67 74 68 2f 32 29 2b |round(le|ngth/2)+|
|00003590| 32 0d 69 66 20 6c 61 73 | 74 44 4e 41 3d 33 20 74 |2.if las|tDNA=3 t|
|000035a0| 68 65 6e 20 70 75 74 20 | 31 20 69 6e 74 6f 20 6c |hen put |1 into l|
|000035b0| 61 73 74 44 4e 41 0d 73 | 65 74 20 63 75 72 73 6f |astDNA.s|et curso|
|000035c0| 72 20 74 6f 20 22 44 4e | 41 22 26 26 6c 61 73 74 |r to "DN|A"&&last|
|000035d0| 44 4e 41 0d 61 64 64 20 | 31 20 74 6f 20 6c 61 73 |DNA.add |1 to las|
|000035e0| 74 44 4e 41 0d 70 75 74 | 20 63 68 61 72 20 31 20 |tDNA.put| char 1 |
|000035f0| 74 6f 20 32 20 6f 66 20 | 73 65 71 74 65 73 74 20 |to 2 of |seqtest |
|00003600| 69 6e 74 6f 20 68 6f 6c | 64 65 72 0d 72 65 70 65 |into hol|der.repe|
|00003610| 61 74 20 77 69 74 68 20 | 78 3d 31 20 74 6f 20 74 |at with |x=1 to t|
|00003620| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00003630| 65 73 20 69 6e 20 4e 4e | 73 65 74 0d 69 66 20 68 |es in NN|set.if h|
|00003640| 6f 6c 64 65 72 3d 69 74 | 65 6d 20 31 20 6f 66 20 |older=it|em 1 of |
|00003650| 6c 69 6e 65 20 78 20 6f | 66 20 4e 4e 73 65 74 20 |line x o|f NNset |
|00003660| 6f 72 c2 0d 68 6f 6c 64 | 65 72 3d 69 74 65 6d 20 |or..hold|er=item |
|00003670| 32 20 6f 66 20 6c 69 6e | 65 20 78 20 6f 66 20 4e |2 of lin|e x of N|
|00003680| 4e 73 65 74 20 74 68 65 | 6e 0d 61 64 64 20 69 74 |Nset the|n.add it|
|00003690| 65 6d 20 33 20 6f 66 20 | 6c 69 6e 65 20 78 20 6f |em 3 of |line x o|
|000036a0| 66 20 4e 4e 73 65 74 20 | 74 6f 20 44 48 0d 61 64 |f NNset |to DH.ad|
|000036b0| 64 20 69 74 65 6d 20 34 | 20 6f 66 20 6c 69 6e 65 |d item 4| of line|
|000036c0| 20 78 20 6f 66 20 4e 4e | 73 65 74 20 74 6f 20 44 | x of NN|set to D|
|000036d0| 53 0d 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |S.exit r|epeat.en|
|000036e0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000036f0| 64 65 6c 65 74 65 20 63 | 68 61 72 20 32 20 6f 66 |delete c|har 2 of|
|00003700| 20 73 65 71 74 65 73 74 | 0d 64 65 6c 65 74 65 20 | seqtest|.delete |
|00003710| 63 68 61 72 20 31 20 6f | 66 20 73 65 71 74 65 73 |char 1 o|f seqtes|
|00003720| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |t.end re|peat.end|
|00003730| 20 72 65 70 65 61 74 0d | 73 65 74 20 6e 75 6d 62 | repeat.|set numb|
|00003740| 65 72 66 6f 72 6d 61 74 | 20 74 6f 20 30 2e 30 30 |erformat| to 0.00|
|00003750| 30 30 30 30 30 30 30 30 | 30 0d 6d 75 6c 74 69 70 |00000000|0.multip|
|00003760| 6c 79 20 44 48 20 62 79 | 20 31 30 30 30 0d 70 75 |ly DH by| 1000.pu|
|00003770| 74 20 31 2e 39 38 37 2a | 6c 6e 28 43 2f 34 29 20 |t 1.987*|ln(C/4) |
|00003780| 69 6e 74 6f 20 43 66 61 | 63 74 6f 72 0d 73 65 74 |into Cfa|ctor.set|
|00003790| 20 6e 75 6d 62 65 72 66 | 6f 72 6d 61 74 20 74 6f | numberf|ormat to|
|000037a0| 20 30 2e 30 30 0d 70 75 | 74 20 4d 26 22 4d 22 20 | 0.00.pu|t M&"M" |
|000037b0| 69 6e 74 6f 20 4d 4d 0d | 73 65 74 20 6e 75 6d 62 |into MM.|set numb|
|000037c0| 65 72 66 6f 72 6d 61 74 | 20 74 6f 20 30 2e 30 30 |erformat| to 0.00|
|000037d0| 30 30 30 30 30 30 30 30 | 30 0d 70 75 74 20 28 44 |00000000|0.put (D|
|000037e0| 48 2f 28 44 53 2d 43 46 | 61 63 74 6f 72 29 29 2d |H/(DS-CF|actor))-|
|000037f0| 32 37 33 2e 31 35 2b 31 | 36 2e 36 2a 4d 32 20 69 |273.15+1|6.6*M2 i|
|00003800| 6e 74 6f 20 54 6d 0d 69 | 66 20 43 3d 30 2e 30 30 |nto Tm.i|f C=0.00|
|00003810| 30 30 30 30 30 30 30 31 | 30 20 74 68 65 6e 0d 73 |00000001|0 then.s|
|00003820| 75 62 74 72 61 63 74 20 | 37 2e 36 20 66 72 6f 6d |ubtract |7.6 from|
|00003830| 20 54 6d 0d 73 65 74 20 | 6e 75 6d 62 65 72 66 6f | Tm.set |numberfo|
|00003840| 72 6d 61 74 20 74 6f 20 | 30 2e 30 0d 70 75 74 20 |rmat to |0.0.put |
|00003850| 22 fb 43 3b 20 5b 22 26 | 4d 4d 26 22 20 4e 61 2b |".C; ["&|MM&" Na+|
|00003860| 3b 20 28 53 6f 6c 69 64 | 20 50 68 61 73 65 29 2c |; (Solid| Phase),|
|00003870| 20 52 79 63 68 6c 69 6b | 20 61 6e 64 20 52 68 6f | Rychlik| and Rho|
|00003880| 61 64 73 5d 22 20 61 66 | 74 65 72 20 54 6d 0d 65 |ads]" af|ter Tm.e|
|00003890| 6c 73 65 0d 73 65 74 20 | 6e 75 6d 62 65 72 66 6f |lse.set |numberfo|
|000038a0| 72 6d 61 74 20 74 6f 20 | 30 2e 30 0d 70 75 74 20 |rmat to |0.0.put |
|000038b0| 22 fb 43 20 5b 22 26 4d | 4d 26 22 20 4e 61 2b 3b |".C ["&M|M&" Na+;|
|000038c0| 20 28 53 6f 6c 75 74 69 | 6f 6e 29 2c 20 52 79 63 | (Soluti|on), Ryc|
|000038d0| 68 6c 69 6b 20 61 6e 64 | 20 52 68 6f 61 64 73 5d |hlik and| Rhoads]|
|000038e0| 22 20 61 66 74 65 72 20 | 54 6d 0d 65 6e 64 20 69 |" after |Tm.end i|
|000038f0| 66 0d 69 66 20 54 6d 20 | 63 6f 6e 74 61 69 6e 73 |f.if Tm |contains|
|00003900| 20 22 2d 22 20 74 68 65 | 6e 20 73 75 67 67 73 20 | "-" the|n suggs |
|00003910| 73 65 71 0d 72 65 74 75 | 72 6e 20 54 6d 0d 70 75 |seq.retu|rn Tm.pu|
|00003920| 74 20 54 6d 0d 65 6e 64 | 20 52 79 63 68 6c 69 6b |t Tm.end| Rychlik|
|00003930| 0d 0d 6f 6e 20 73 75 67 | 67 73 20 73 65 71 0d 70 |..on sug|gs seq.p|
|00003940| 75 74 20 74 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |ut the l|ength of|
|00003950| 20 65 78 74 72 61 63 74 | 28 22 41 2c 54 22 2c 73 | extract|("A,T",s|
|00003960| 65 71 29 20 69 6e 74 6f | 20 41 54 0d 70 75 74 20 |eq) into| AT.put |
|00003970| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 65 78 |the leng|th of ex|
|00003980| 74 72 61 63 74 28 22 47 | 2c 43 22 2c 73 65 71 29 |tract("G|,C",seq)|
|00003990| 20 69 6e 74 6f 20 47 43 | 0d 73 65 74 20 6e 75 6d | into GC|.set num|
|000039a0| 62 65 72 66 6f 72 6d 61 | 74 20 74 6f 20 30 2e 30 |berforma|t to 0.0|
|000039b0| 0d 70 75 74 20 34 2a 47 | 43 2b 32 2a 41 54 20 26 |.put 4*G|C+2*AT &|
|000039c0| 22 fb 43 20 28 53 75 67 | 67 73 20 65 74 20 61 6c |".C (Sug|gs et al|
|000039d0| 2e 29 22 20 69 6e 74 6f | 20 54 6d 0d 72 65 74 75 |.)" into| Tm.retu|
|000039e0| 72 6e 20 54 6d 0d 65 6e | 64 20 73 75 67 67 73 0d |rn Tm.en|d suggs.|
|000039f0| 0d 6f 6e 20 65 78 70 6f | 72 74 64 61 74 61 62 61 |.on expo|rtdataba|
|00003a00| 73 65 0d 67 6c 6f 62 61 | 6c 20 57 4f 52 44 50 52 |se.globa|l WORDPR|
|00003a10| 4f 43 45 53 53 4f 52 0d | 69 66 20 77 6f 72 64 70 |OCESSOR.|if wordp|
|00003a20| 72 6f 63 65 73 73 6f 72 | 3d 22 4d 69 63 72 6f 73 |rocessor|="Micros|
|00003a30| 6f 66 74 20 57 6f 72 64 | 22 20 74 68 65 6e 20 70 |oft Word|" then p|
|00003a40| 75 74 20 4d 53 57 44 20 | 69 6e 74 6f 20 66 69 6c |ut MSWD |into fil|
|00003a50| 65 43 72 65 61 74 6f 72 | 0d 65 6c 73 65 20 69 66 |eCreator|.else if|
|00003a60| 20 77 6f 72 64 70 72 6f | 63 65 73 73 6f 72 3d 22 | wordpro|cessor="|
|00003a70| 4d 61 63 57 72 69 74 65 | 22 20 74 68 65 6e 20 70 |MacWrite|" then p|
|00003a80| 75 74 20 4d 41 43 41 20 | 69 6e 74 6f 20 66 69 6c |ut MACA |into fil|
|00003a90| 65 43 72 65 61 74 6f 72 | 0d 73 65 74 20 74 68 65 |eCreator|.set the|
|00003aa0| 20 63 61 6e 74 61 62 6f | 72 74 20 6f 66 20 74 68 | cantabo|rt of th|
|00003ab0| 69 73 20 73 74 61 63 6b | 20 74 6f 20 74 72 75 65 |is stack| to true|
|00003ac0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00003ad0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|00003ae0| 6e 74 6f 20 63 64 6e 61 | 6d 65 0d 70 75 74 20 22 |nto cdna|me.put "|
|00003af0| 4f 6c 69 67 6f 20 44 61 | 74 61 62 61 73 65 2e 52 |Oligo Da|tabase.R|
|00003b00| 54 46 22 20 69 6e 74 6f | 20 66 69 6c 65 6e 61 6d |TF" into| filenam|
|00003b10| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00003b20| 20 68 6f 6c 64 65 72 0d | 57 72 69 74 65 54 6f 46 | holder.|WriteToF|
|00003b30| 69 6c 65 20 68 6f 6c 64 | 65 72 2c 66 61 6c 73 65 |ile hold|er,false|
|00003b40| 2c 66 69 6c 65 6e 61 6d | 65 2c 66 61 6c 73 65 2c |,filenam|e,false,|
|00003b50| 66 69 6c 65 43 72 65 61 | 74 6f 72 0d 69 66 20 74 |fileCrea|tor.if t|
|00003b60| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 43 61 |he resul|t is "Ca|
|00003b70| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|00003b80| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 70 75 74 |to Hyper|card.put|
|00003b90| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|00003ba0| 20 66 69 6c 65 6e 61 6d | 65 0d 6c 6f 63 6b 74 68 | filenam|e.lockth|
|00003bb0| 69 6e 67 73 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |ings.put| cd fld |
|00003bc0| 22 6f 6c 69 67 6f 69 6e | 64 65 78 22 20 6f 66 20 |"oligoin|dex" of |
|00003bd0| 63 64 20 31 20 69 6e 74 | 6f 20 69 6e 64 65 78 63 |cd 1 int|o indexc|
|00003be0| 6f 6e 74 65 6e 74 73 0d | 70 72 6f 67 72 65 73 73 |ontents.|progress|
|00003bf0| 20 22 45 78 70 6f 72 74 | 69 6e 67 20 6f 6c 69 67 | "Export|ing olig|
|00003c00| 6f 20 64 61 74 61 62 61 | 73 65 2e 2e 2e 22 0d 70 |o databa|se...".p|
|00003c10| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|00003c20| 20 63 64 73 20 69 6e 20 | 74 68 69 73 20 73 74 61 | cds in |this sta|
|00003c30| 63 6b 20 69 6e 74 6f 20 | 74 6f 74 6e 75 6d 0d 72 |ck into |totnum.r|
|00003c40| 65 70 65 61 74 20 77 69 | 74 68 20 78 3d 31 20 74 |epeat wi|th x=1 t|
|00003c50| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003c60| 63 64 73 20 69 6e 20 74 | 68 69 73 20 73 74 61 63 |cds in t|his stac|
|00003c70| 6b 0d 69 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |k.if the| command|
|00003c80| 6b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |key is d|own then|
|00003c90| 20 61 62 6f 72 74 65 78 | 70 6f 72 74 20 63 64 6e | abortex|port cdn|
|00003ca0| 61 6d 65 0d 70 72 6f 67 | 72 65 73 73 20 31 30 30 |ame.prog|ress 100|
|00003cb0| 2a 28 78 2f 74 6f 74 6e | 75 6d 29 0d 67 6f 20 74 |*(x/totn|um).go t|
|00003cc0| 6f 20 63 64 20 78 0d 69 | 66 20 74 68 65 20 73 68 |o cd x.i|f the sh|
|00003cd0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00003ce0| 20 63 64 20 69 73 20 69 | 6e 20 69 6e 64 65 78 63 | cd is i|n indexc|
|00003cf0| 6f 6e 74 65 6e 74 73 20 | 74 68 65 6e 0d 70 75 74 |ontents |then.put|
|00003d00| 20 66 69 65 6c 64 54 6f | 52 54 46 28 66 61 6c 73 | fieldTo|RTF(fals|
|00003d10| 65 2c 22 64 61 74 61 22 | 29 20 69 6e 74 6f 20 68 |e,"data"|) into h|
|00003d20| 6f 6c 64 65 72 0d 64 65 | 6c 65 74 65 20 6c 61 73 |older.de|lete las|
|00003d30| 74 20 63 68 61 72 20 6f | 66 20 68 6f 6c 64 65 72 |t char o|f holder|
|00003d40| 0d 70 75 74 20 22 5c 70 | 61 72 5c 70 61 72 5c 74 |.put "\p|ar\par\t|
|00003d50| 61 62 5c 40 5c 70 61 72 | 22 20 61 66 74 65 72 20 |ab\@\par|" after |
|00003d60| 68 6f 6c 64 65 72 0d 57 | 72 69 74 65 54 6f 46 69 |holder.W|riteToFi|
|00003d70| 6c 65 20 68 6f 6c 64 65 | 72 2c 74 72 75 65 2c 66 |le holde|r,true,f|
|00003d80| 69 6c 65 6e 61 6d 65 2c | 74 72 75 65 2c 66 69 6c |ilename,|true,fil|
|00003d90| 65 43 72 65 61 74 6f 72 | 0d 70 75 74 20 66 69 65 |eCreator|.put fie|
|00003da0| 6c 64 54 6f 52 54 46 28 | 66 61 6c 73 65 2c 22 73 |ldToRTF(|false,"s|
|00003db0| 74 6f 72 61 67 65 22 29 | 20 69 6e 74 6f 20 68 6f |torage")| into ho|
|00003dc0| 6c 64 65 72 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |lder.del|ete last|
|00003dd0| 20 63 68 61 72 20 6f 66 | 20 68 6f 6c 64 65 72 0d | char of| holder.|
|00003de0| 70 75 74 20 22 5c 70 61 | 72 5c 70 61 72 5c 74 61 |put "\pa|r\par\ta|
|00003df0| 62 5c 40 5c 70 61 72 22 | 20 61 66 74 65 72 20 68 |b\@\par"| after h|
|00003e00| 6f 6c 64 65 72 0d 57 72 | 69 74 65 54 6f 46 69 6c |older.Wr|iteToFil|
|00003e10| 65 20 68 6f 6c 64 65 72 | 2c 74 72 75 65 2c 66 69 |e holder|,true,fi|
|00003e20| 6c 65 6e 61 6d 65 2c 74 | 72 75 65 2c 66 69 6c 65 |lename,t|rue,file|
|00003e30| 43 72 65 61 74 6f 72 0d | 65 6e 64 20 69 66 0d 65 |Creator.|end if.e|
|00003e40| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 23 |nd repea|t.put "#|
|00003e50| 23 23 5c 70 61 72 22 20 | 69 6e 74 6f 20 68 6f 6c |##\par" |into hol|
|00003e60| 64 65 72 0d 57 72 69 74 | 65 54 6f 46 69 6c 65 20 |der.Writ|eToFile |
|00003e70| 68 6f 6c 64 65 72 2c 74 | 72 75 65 2c 66 69 6c 65 |holder,t|rue,file|
|00003e80| 6e 61 6d 65 2c 74 72 75 | 65 2c 66 69 6c 65 43 72 |name,tru|e,fileCr|
|00003e90| 65 61 74 6f 72 0d 70 6c | 61 79 20 68 61 72 70 73 |eator.pl|ay harps|
|00003ea0| 69 63 68 6f 72 64 0d 67 | 6f 20 74 6f 20 63 64 20 |ichord.g|o to cd |
|00003eb0| 63 64 6e 61 6d 65 0d 70 | 72 6f 67 72 65 73 73 20 |cdname.p|rogress |
|00003ec0| 64 69 73 6d 69 73 73 0d | 73 65 74 20 74 68 65 20 |dismiss.|set the |
|00003ed0| 63 61 6e 74 61 62 6f 72 | 74 20 6f 66 20 74 68 69 |cantabor|t of thi|
|00003ee0| 73 20 73 74 61 63 6b 20 | 74 6f 20 66 61 6c 73 65 |s stack |to false|
|00003ef0| 0d 41 6e 73 77 65 72 20 | 22 44 6f 6e 65 21 21 21 |.Answer |"Done!!!|
|00003f00| 20 44 6f 20 77 61 6e 74 | 20 74 6f 20 73 65 65 20 | Do want| to see |
|00003f10| 74 68 65 20 65 78 70 6f | 72 74 65 64 20 66 69 6c |the expo|rted fil|
|00003f20| 65 3f 22 20 77 69 74 68 | 20 22 59 65 73 22 20 6f |e?" with| "Yes" o|
|00003f30| 72 20 22 4e 6f 22 0d 69 | 66 20 69 74 20 69 73 20 |r "No".i|f it is |
|00003f40| 22 79 65 73 22 20 74 68 | 65 6e 0d 67 65 74 20 49 |"yes" th|en.get I|
|00003f50| 73 52 75 6e 6e 69 6e 67 | 28 57 4f 52 44 50 52 4f |sRunning|(WORDPRO|
|00003f60| 43 45 53 53 4f 52 29 0d | 69 66 20 69 74 20 69 73 |CESSOR).|if it is|
|00003f70| 20 66 61 6c 73 65 20 74 | 68 65 6e 20 6f 70 65 6e | false t|hen open|
|00003f80| 20 66 69 6c 65 6e 61 6d | 65 20 77 69 74 68 20 57 | filenam|e with W|
|00003f90| 4f 52 44 50 52 4f 43 45 | 53 53 4f 52 0d 65 6c 73 |ORDPROCE|SSOR.els|
|00003fa0| 65 0d 70 6c 61 79 20 68 | 61 72 70 73 69 63 68 6f |e.play h|arpsicho|
|00003fb0| 72 64 0d 61 6e 73 77 65 | 72 20 22 49 6e 20 22 26 |rd.answe|r "In "&|
|00003fc0| 57 4f 52 44 50 52 4f 43 | 45 53 53 4f 52 26 22 20 |WORDPROC|ESSOR&" |
|00003fd0| 6f 70 65 6e 20 22 26 74 | 68 65 46 69 6c 65 26 22 |open "&t|heFile&"|
|00003fe0| 20 75 73 69 6e 67 20 74 | 68 65 20 66 69 6c 65 6d | using t|he filem|
|00003ff0| 65 6e 75 2e 22 0d 43 6c | 65 61 6e 45 78 69 74 0d |enu.".Cl|eanExit.|
|00004000| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00004010| 64 20 65 78 70 6f 72 74 | 64 61 74 61 62 61 73 65 |d export|database|
|00004020| 0d 0d 6f 6e 20 69 6d 70 | 6f 72 74 64 61 74 61 62 |..on imp|ortdatab|
|00004030| 61 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ase.put |empty in|
|00004040| 74 6f 20 6e 61 6d 65 68 | 6f 6c 64 65 72 0d 67 6c |to nameh|older.gl|
|00004050| 6f 62 61 6c 20 6e 61 6d | 65 0d 61 6e 73 77 65 72 |obal nam|e.answer|
|00004060| 20 22 41 72 65 20 79 6f | 75 20 69 6d 70 6f 72 74 | "Are yo|u import|
|00004070| 69 6e 67 20 61 6e 20 52 | 54 46 20 66 69 6c 65 3f |ing an R|TF file?|
|00004080| 22 20 77 69 74 68 20 22 | 59 65 73 22 20 6f 72 20 |" with "|Yes" or |
|00004090| 22 4e 6f 22 20 6f 72 20 | 22 43 61 6e 63 65 6c 22 |"No" or |"Cancel"|
|000040a0| 0d 69 66 20 69 74 20 69 | 73 20 22 63 61 6e 63 65 |.if it i|s "cance|
|000040b0| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 74 6f 20 |l" then |exit to |
|000040c0| 48 79 70 65 72 63 61 72 | 64 0d 65 6c 73 65 20 69 |Hypercar|d.else i|
|000040d0| 66 20 69 74 20 69 73 20 | 22 59 65 73 22 20 74 68 |f it is |"Yes" th|
|000040e0| 65 6e 20 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |en put e|mpty int|
|000040f0| 6f 20 72 74 66 63 6f 64 | 65 0d 65 6c 73 65 20 70 |o rtfcod|e.else p|
|00004100| 75 74 20 63 64 20 66 6c | 64 20 22 72 74 66 22 20 |ut cd fl|d "rtf" |
|00004110| 6f 66 20 63 64 20 31 20 | 69 6e 74 6f 20 72 74 66 |of cd 1 |into rtf|
|00004120| 63 6f 64 65 0d 70 75 74 | 20 74 68 65 20 73 68 6f |code.put| the sho|
|00004130| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004140| 63 64 20 69 6e 74 6f 20 | 63 64 6e 61 6d 65 0d 73 |cd into |cdname.s|
|00004150| 65 74 20 74 68 65 20 63 | 61 6e 74 61 62 6f 72 74 |et the c|antabort|
|00004160| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|00004170| 6f 20 74 72 75 65 0d 67 | 65 74 20 73 74 61 6e 64 |o true.g|et stand|
|00004180| 61 72 64 46 69 6c 65 28 | 22 67 65 74 3a 4f 70 65 |ardFile(|"get:Ope|
|00004190| 6e 22 2c 54 45 58 54 2c | 57 44 42 4e 29 0d 70 75 |n",TEXT,|WDBN).pu|
|000041a0| 74 20 69 74 20 69 6e 74 | 6f 20 66 69 6c 65 74 6f |t it int|o fileto|
|000041b0| 6f 70 65 6e 0d 69 66 20 | 66 69 6c 65 74 6f 6f 70 |open.if |filetoop|
|000041c0| 65 6e 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |en is em|pty then|
|000041d0| 20 65 78 69 74 20 74 6f | 20 48 79 70 65 72 63 61 | exit to| Hyperca|
|000041e0| 72 64 0d 6f 70 65 6e 20 | 66 69 6c 65 20 66 69 6c |rd.open |file fil|
|000041f0| 65 74 6f 6f 70 65 6e 0d | 72 65 61 64 20 66 72 6f |etoopen.|read fro|
|00004200| 6d 20 66 69 6c 65 20 66 | 69 6c 65 74 6f 6f 70 65 |m file f|iletoope|
|00004210| 6e 20 75 6e 74 69 6c 20 | 65 6e 64 0d 69 66 20 69 |n until |end.if i|
|00004220| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|00004230| 63 6c 6f 73 65 20 66 69 | 6c 65 20 66 69 6c 65 74 |close fi|le filet|
|00004240| 6f 6f 70 65 6e 0d 65 78 | 69 74 20 74 6f 20 48 79 |oopen.ex|it to Hy|
|00004250| 70 65 72 63 61 72 64 0d | 65 6e 64 20 69 66 0d 70 |percard.|end if.p|
|00004260| 75 74 20 28 6c 65 6e 67 | 74 68 28 65 78 74 72 61 |ut (leng|th(extra|
|00004270| 63 74 28 22 40 22 2c 69 | 74 29 29 29 2f 32 20 69 |ct("@",i|t)))/2 i|
|00004280| 6e 74 6f 20 74 6f 74 6e | 75 6d 0d 69 66 20 74 6f |nto totn|um.if to|
|00004290| 74 6e 75 6d 3c 3e 72 6f | 75 6e 64 28 74 6f 74 6e |tnum<>ro|und(totn|
|000042a0| 75 6d 29 20 74 68 65 6e | 0d 70 6c 61 79 20 68 61 |um) then|.play ha|
|000042b0| 72 70 73 69 63 68 6f 72 | 64 0d 61 6e 73 77 65 72 |rpsichor|d.answer|
|000042c0| 20 22 49 6e 63 6f 72 72 | 65 63 74 20 6e 75 6d 62 | "Incorr|ect numb|
|000042d0| 65 72 20 6f 66 20 66 69 | 6c 65 73 20 73 70 65 63 |er of fi|les spec|
|000042e0| 69 66 69 65 64 21 22 0d | 65 78 69 74 20 74 6f 20 |ified!".|exit to |
|000042f0| 48 79 70 65 72 63 61 72 | 64 0d 65 6e 64 20 69 66 |Hypercar|d.end if|
|00004300| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 66 69 6c 65 |.close f|ile file|
|00004310| 74 6f 6f 70 65 6e 0d 6f | 70 65 6e 20 66 69 6c 65 |toopen.o|pen file|
|00004320| 20 66 69 6c 65 74 6f 6f | 70 65 6e 0d 70 72 6f 67 | filetoo|pen.prog|
|00004330| 72 65 73 73 20 22 49 6d | 70 6f 72 74 69 6e 67 20 |ress "Im|porting |
|00004340| 64 61 74 61 2e 2e 2e 22 | 0d 70 75 74 20 30 20 69 |data..."|.put 0 i|
|00004350| 6e 74 6f 20 73 6f 66 61 | 72 0d 6c 6f 63 6b 20 73 |nto sofa|r.lock s|
|00004360| 63 72 65 65 6e 0d 67 6f | 20 74 6f 20 63 64 20 31 |creen.go| to cd 1|
|00004370| 0d 72 65 61 64 20 66 72 | 6f 6d 20 66 69 6c 65 20 |.read fr|om file |
|00004380| 66 69 6c 65 74 6f 6f 70 | 65 6e 20 75 6e 74 69 6c |filetoop|en until|
|00004390| 20 22 40 22 0d 72 65 70 | 65 61 74 20 75 6e 74 69 | "@".rep|eat unti|
|000043a0| 6c 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 22 23 |l it con|tains "#|
|000043b0| 23 23 22 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |##".set |cursor t|
|000043c0| 6f 20 62 75 73 79 0d 69 | 66 20 74 68 65 20 63 6f |o busy.i|f the co|
|000043d0| 6d 6d 61 6e 64 6b 65 79 | 20 69 73 20 64 6f 77 6e |mmandkey| is down|
|000043e0| 20 74 68 65 6e 0d 61 62 | 6f 72 74 64 62 20 6e 61 | then.ab|ortdb na|
|000043f0| 6d 65 68 6f 6c 64 65 72 | 2c 63 64 6e 61 6d 65 0d |meholder|,cdname.|
|00004400| 65 6e 64 20 69 66 0d 64 | 6f 6d 65 6e 75 20 22 6e |end if.d|omenu "n|
|00004410| 65 77 20 63 61 72 64 22 | 0d 67 65 74 20 52 54 46 |ew card"|.get RTF|
|00004420| 54 6f 46 69 65 6c 64 28 | 69 74 2c 66 61 6c 73 65 |ToField(|it,false|
|00004430| 2c 22 64 61 74 61 22 29 | 0d 72 65 70 65 61 74 20 |,"data")|.repeat |
|00004440| 75 6e 74 69 6c 20 6c 69 | 6e 65 20 31 20 6f 66 20 |until li|ne 1 of |
|00004450| 62 67 20 66 6c 64 20 22 | 64 61 74 61 22 20 3c 3e |bg fld "|data" <>|
|00004460| 65 6d 70 74 79 0d 64 65 | 6c 65 74 65 20 6c 69 6e |empty.de|lete lin|
|00004470| 65 20 31 20 6f 66 20 62 | 67 20 66 6c 64 20 22 64 |e 1 of b|g fld "d|
|00004480| 61 74 61 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ata".end| repeat.|
|00004490| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000044a0| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 64 61 74 61 | of bg f|ld "data|
|000044b0| 22 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |".put li|ne 1 of |
|000044c0| 62 67 20 66 6c 64 20 22 | 64 61 74 61 22 20 69 6e |bg fld "|data" in|
|000044d0| 74 6f 20 6e 61 6d 65 0d | 72 65 61 64 20 66 72 6f |to name.|read fro|
|000044e0| 6d 20 66 69 6c 65 20 66 | 69 6c 65 74 6f 6f 70 65 |m file f|iletoope|
|000044f0| 6e 20 75 6e 74 69 6c 20 | 22 40 22 0d 70 75 74 20 |n until |"@".put |
|00004500| 72 74 66 63 6f 64 65 20 | 62 65 66 6f 72 65 20 69 |rtfcode |before i|
|00004510| 74 0d 67 65 74 20 52 54 | 46 54 6f 46 69 65 6c 64 |t.get RT|FToField|
|00004520| 28 69 74 2c 66 61 6c 73 | 65 2c 22 73 74 6f 72 61 |(it,fals|e,"stora|
|00004530| 67 65 22 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |ge").if |line 1 o|
|00004540| 66 20 62 67 20 66 6c 64 | 20 22 73 74 6f 72 61 67 |f bg fld| "storag|
|00004550| 65 22 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |e" is em|pty then|
|00004560| 20 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 31 20 6f | delete |line 1 o|
|00004570| 66 20 62 67 20 66 6c 64 | 20 22 73 74 6f 72 61 67 |f bg fld| "storag|
|00004580| 65 22 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |e".delet|e last c|
|00004590| 68 61 72 20 6f 66 20 62 | 67 20 66 6c 64 20 22 73 |har of b|g fld "s|
|000045a0| 74 6f 72 61 67 65 22 0d | 0d 2d 2d 63 68 65 63 6b |torage".|.--check|
|000045b0| 20 66 6f 72 20 76 61 6c | 69 64 20 48 43 20 63 61 | for val|id HC ca|
|000045c0| 72 64 20 6e 61 6d 65 73 | 0d 63 68 65 63 6b 69 74 |rd names|.checkit|
|000045d0| 65 6d 6e 61 6d 65 20 22 | 6f 6c 69 67 6f 69 6e 64 |emname "|oligoind|
|000045e0| 65 78 22 2c 6e 61 6d 65 | 68 6f 6c 64 65 72 0d 2d |ex",name|holder.-|
|000045f0| 2d 0d 69 66 20 6e 61 6d | 65 20 69 73 20 6e 6f 74 |-.if nam|e is not|
|00004600| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 74 20 | empty t|hen.set |
|00004610| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |the name| of this|
|00004620| 20 63 64 20 74 6f 20 6e | 61 6d 65 0d 70 75 74 20 | cd to n|ame.put |
|00004630| 6e 61 6d 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |name int|o line 1|
|00004640| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 64 61 74 61 | of bg f|ld "data|
|00004650| 22 0d 70 75 74 20 6e 61 | 6d 65 26 72 65 74 75 72 |".put na|me&retur|
|00004660| 6e 20 61 66 74 65 72 20 | 6e 61 6d 65 68 6f 6c 64 |n after |namehold|
|00004670| 65 72 0d 65 6e 64 20 69 | 66 0d 61 64 64 20 31 20 |er.end i|f.add 1 |
|00004680| 74 6f 20 73 6f 66 61 72 | 0d 70 72 6f 67 72 65 73 |to sofar|.progres|
|00004690| 73 20 31 30 30 2a 28 73 | 6f 66 61 72 2f 74 6f 74 |s 100*(s|ofar/tot|
|000046a0| 6e 75 6d 29 0d 72 65 61 | 64 20 66 72 6f 6d 20 66 |num).rea|d from f|
|000046b0| 69 6c 65 20 66 69 6c 65 | 74 6f 6f 70 65 6e 20 75 |ile file|toopen u|
|000046c0| 6e 74 69 6c 20 22 40 22 | 0d 70 75 74 20 72 74 66 |ntil "@"|.put rtf|
|000046d0| 63 6f 64 65 20 62 65 66 | 6f 72 65 20 69 74 0d 65 |code bef|ore it.e|
|000046e0| 6e 64 20 72 65 70 65 61 | 74 0d 63 6c 6f 73 65 20 |nd repea|t.close |
|000046f0| 66 69 6c 65 20 66 69 6c | 65 74 6f 6f 70 65 6e 0d |file fil|etoopen.|
|00004700| 70 75 74 20 72 65 74 75 | 72 6e 26 6e 61 6d 65 68 |put retu|rn&nameh|
|00004710| 6f 6c 64 65 72 20 61 66 | 74 65 72 20 63 64 20 66 |older af|ter cd f|
|00004720| 6c 64 20 22 6f 6c 69 67 | 6f 69 6e 64 65 78 22 20 |ld "olig|oindex" |
|00004730| 6f 66 20 63 64 20 31 0d | 70 75 74 20 73 6f 72 74 |of cd 1.|put sort|
|00004740| 66 69 65 6c 64 28 63 64 | 20 66 6c 64 20 22 6f 6c |field(cd| fld "ol|
|00004750| 69 67 6f 69 6e 64 65 78 | 22 20 6f 66 20 63 64 20 |igoindex|" of cd |
|00004760| 31 29 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |1) into |cd fld "|
|00004770| 6f 6c 69 67 6f 69 6e 64 | 65 78 22 20 6f 66 20 63 |oligoind|ex" of c|
|00004780| 64 20 31 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |d 1.if l|ine 1 of|
|00004790| 20 63 64 20 66 6c 64 20 | 22 6f 6c 69 67 6f 69 6e | cd fld |"oligoin|
|000047a0| 64 65 78 22 20 6f 66 20 | 63 64 20 31 20 69 73 20 |dex" of |cd 1 is |
|000047b0| 65 6d 70 74 79 20 74 68 | 65 6e 20 64 65 6c 65 74 |empty th|en delet|
|000047c0| 65 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 64 20 66 |e line 1| of cd f|
|000047d0| 6c 64 20 22 6f 6c 69 67 | 6f 69 6e 64 65 78 22 20 |ld "olig|oindex" |
|000047e0| 6f 66 20 63 64 20 31 0d | 70 75 74 20 65 6d 70 74 |of cd 1.|put empt|
|000047f0| 79 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 31 20 |y into b|g fld 1 |
|00004800| 6f 66 20 63 64 20 31 0d | 73 6f 72 74 20 61 73 63 |of cd 1.|sort asc|
|00004810| 65 6e 64 69 6e 67 20 62 | 79 20 62 67 20 66 6c 64 |ending b|y bg fld|
|00004820| 20 31 0d 67 6f 20 74 6f | 20 63 64 20 63 64 6e 61 | 1.go to| cd cdna|
|00004830| 6d 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |me.put e|mpty int|
|00004840| 6f 20 6e 61 6d 65 0d 70 | 72 6f 67 72 65 73 73 20 |o name.p|rogress |
|00004850| 64 69 73 6d 69 73 73 0d | 73 65 74 20 74 68 65 20 |dismiss.|set the |
|00004860| 63 61 6e 74 61 62 6f 72 | 74 20 6f 66 20 74 68 69 |cantabor|t of thi|
|00004870| 73 20 73 74 61 63 6b 20 | 74 6f 20 66 61 6c 73 65 |s stack |to false|
|00004880| 0d 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 |.play ha|rpsichor|
|00004890| 64 0d 65 6e 64 20 69 6d | 70 6f 72 74 64 61 74 61 |d.end im|portdata|
|000048a0| 62 61 73 65 0d 0d 6f 6e | 20 55 6e 48 69 74 20 64 |base..on| UnHit d|
|000048b0| 69 61 6c 6f 67 2c 20 69 | 74 65 6d 48 69 74 2c 20 |ialog, i|temHit, |
|000048c0| 70 61 72 74 48 69 74 0d | 2d 2d 20 2d 2d 2d 2d 2d |partHit.|-- -----|
|000048d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000048e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 2d 2d 20 49 74 |--------|--.-- It|
|000048f0| 65 6d 73 20 69 6e 20 44 | 69 61 6c 6f 67 3a 20 22 |ems in D|ialog: "|
|00004900| 41 6e 61 6c 79 73 69 73 | 4f 75 74 70 75 74 22 0d |Analysis|Output".|
|00004910| 2d 2d 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-- -----|--------|
|00004920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004930| 2d 2d 0d 2d 2d 20 31 20 | d7 20 42 75 74 74 6f 6e |--.-- 1 |. Button|
|00004940| 20 22 4f 4b 22 0d 2d 2d | 20 32 20 d7 20 42 75 74 | "OK".--| 2 . But|
|00004950| 74 6f 6e 20 22 4f 4b 22 | 0d 2d 2d 20 33 20 d7 20 |ton "OK"|.-- 3 . |
|00004960| 42 75 74 74 6f 6e 20 22 | 53 74 6f 72 65 20 4f 6c |Button "|Store Ol|
|00004970| 69 67 6f 2e 2e 2e 22 0d | 2d 2d 20 34 20 d7 20 42 |igo...".|-- 4 . B|
|00004980| 75 74 74 6f 6e 20 22 54 | 72 61 6e 73 66 65 72 2e |utton "T|ransfer.|
|00004990| 2e 2e 22 0d 2d 2d 20 35 | 20 d7 20 42 75 74 74 6f |..".-- 5| . Butto|
|000049a0| 6e 20 22 50 72 69 6e 74 | 22 0d 2d 2d 20 36 20 d7 |n "Print|".-- 6 .|
|000049b0| 20 53 63 72 6f 6c 6c 69 | 6e 67 20 53 74 61 74 69 | Scrolli|ng Stati|
|000049c0| 63 20 54 65 78 74 20 22 | 5e 30 22 0d 2d 2d 20 2d |c Text "|^0".-- -|
|000049d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000049e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|000049f0| 0d 69 66 20 69 74 65 6d | 48 69 74 20 3d 20 30 20 |.if item|Hit = 0 |
|00004a00| 74 68 65 6e 20 2d 2d 20 | 49 6e 69 74 69 61 6c 69 |then -- |Initiali|
|00004a10| 7a 65 20 64 69 61 6c 6f | 67 0d 65 6c 73 65 20 69 |ze dialo|g.else i|
|00004a20| 66 20 69 74 65 6d 48 69 | 74 20 3d 20 33 20 74 68 |f itemHi|t = 3 th|
|00004a30| 65 6e 20 53 74 6f 72 65 | 52 6f 75 74 69 6e 65 2d |en Store|Routine-|
|00004a40| 2d 20 42 75 74 74 6f 6e | 20 22 53 74 6f 72 65 20 |- Button| "Store |
|00004a50| 4f 6c 69 67 6f 22 0d 65 | 6c 73 65 20 69 66 20 69 |Oligo".e|lse if i|
|00004a60| 74 65 6d 48 69 74 20 3d | 20 34 20 74 68 65 6e 20 |temHit =| 4 then |
|00004a70| 54 72 61 6e 73 66 65 72 | 52 6f 75 74 69 6e 65 2d |Transfer|Routine-|
|00004a80| 2d 20 42 75 74 74 6f 6e | 20 22 54 72 61 6e 73 66 |- Button| "Transf|
|00004a90| 65 72 22 0d 65 6c 73 65 | 20 69 66 20 69 74 65 6d |er".else| if item|
|00004aa0| 48 69 74 20 3d 20 35 20 | 74 68 65 6e 20 50 72 69 |Hit = 5 |then Pri|
|00004ab0| 6e 74 52 6f 75 74 69 6e | 65 2d 2d 20 42 75 74 74 |ntRoutin|e-- Butt|
|00004ac0| 6f 6e 20 22 50 72 69 6e | 74 22 0d 65 6e 64 20 55 |on "Prin|t".end U|
|00004ad0| 6e 48 69 74 0d 0d 0d 6f | 6e 20 54 6d 48 69 74 20 |nHit...o|n TmHit |
|00004ae0| 64 69 61 6c 6f 67 2c 20 | 69 74 65 6d 48 69 74 0d |dialog, |itemHit.|
|00004af0| 64 43 68 61 6e 67 65 72 | 20 64 69 61 6c 6f 67 2c |dChanger| dialog,|
|00004b00| 22 36 d7 64 69 73 6d 69 | 73 73 22 0d 65 6e 64 20 |"6.dismi|ss".end |
|00004b10| 54 6d 48 49 74 0d 0d 6f | 6e 20 52 52 48 69 74 20 |TmHIt..o|n RRHit |
|00004b20| 64 69 61 6c 6f 67 2c 20 | 69 74 65 6d 48 69 74 2c |dialog, |itemHit,|
|00004b30| 70 61 72 74 68 69 74 0d | 70 75 74 20 64 43 6f 6e |parthit.|put dCon|
|00004b40| 74 65 6e 74 73 20 28 64 | 69 61 6c 6f 67 2c 35 29 |tents (d|ialog,5)|
|00004b50| 20 69 6e 74 6f 20 68 6f | 6c 64 65 72 0d 69 66 20 | into ho|lder.if |
|00004b60| 73 74 72 69 70 28 22 30 | 2e 22 2c 68 6f 6c 64 65 |strip("0|.",holde|
|00004b70| 72 29 20 69 73 20 65 6d | 70 74 79 20 6f 72 c2 0d |r) is em|pty or..|
|00004b80| 73 74 72 69 70 28 22 31 | 32 33 34 35 36 37 38 39 |strip("1|23456789|
|00004b90| 30 2e 22 2c 68 6f 6c 64 | 65 72 29 20 69 73 20 6e |0.",hold|er) is n|
|00004ba0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 64 43 |ot empty| then dC|
|00004bb0| 68 61 6e 67 65 72 20 64 | 69 61 6c 6f 67 2c 22 31 |hanger d|ialog,"1|
|00004bc0| d7 49 6e 61 63 74 69 76 | 61 74 65 22 0d 65 6c 73 |.Inactiv|ate".els|
|00004bd0| 65 20 64 43 68 61 6e 67 | 65 72 20 64 69 61 6c 6f |e dChang|er dialo|
|00004be0| 67 2c 22 31 d7 41 63 74 | 69 76 61 74 65 22 0d 65 |g,"1.Act|ivate".e|
|00004bf0| 6e 64 20 20 52 52 48 69 | 74 0d 0d 6f 6e 20 4d 68 |nd RRHi|t..on Mh|
|00004c00| 69 74 20 64 69 61 6c 6f | 67 2c 69 74 65 6d 48 69 |it dialo|g,itemHi|
|00004c10| 74 0d 70 75 74 20 64 43 | 6f 6e 74 65 6e 74 73 20 |t.put dC|ontents |
|00004c20| 28 64 69 61 6c 6f 67 29 | 20 69 6e 74 6f 20 68 6f |(dialog)| into ho|
|00004c30| 6c 64 65 72 0d 69 66 20 | 73 74 72 69 70 28 22 30 |lder.if |strip("0|
|00004c40| 2e 22 2c 6c 69 6e 65 20 | 33 20 6f 66 20 68 6f 6c |.",line |3 of hol|
|00004c50| 64 65 72 29 20 69 73 20 | 65 6d 70 74 79 20 6f 72 |der) is |empty or|
|00004c60| c2 0d 73 74 72 69 70 28 | 22 31 32 33 34 35 36 37 |..strip(|"1234567|
|00004c70| 38 39 30 2e 22 2c 6c 69 | 6e 65 20 33 20 6f 66 20 |890.",li|ne 3 of |
|00004c80| 68 6f 6c 64 65 72 29 20 | 69 73 20 6e 6f 74 20 65 |holder) |is not e|
|00004c90| 6d 70 74 79 20 6f 72 c2 | 0d 73 74 72 69 70 28 22 |mpty or.|.strip("|
|00004ca0| 31 32 33 34 35 36 37 38 | 39 30 2e 22 26 72 65 74 |12345678|90."&ret|
|00004cb0| 75 72 6e 2c 6c 69 6e 65 | 20 34 20 74 6f 20 35 20 |urn,line| 4 to 5 |
|00004cc0| 6f 66 20 68 6f 6c 64 65 | 72 29 20 69 73 20 6e 6f |of holde|r) is no|
|00004cd0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 64 43 68 |t empty |then dCh|
|00004ce0| 61 6e 67 65 72 20 64 69 | 61 6c 6f 67 2c 22 31 d7 |anger di|alog,"1.|
|00004cf0| 49 6e 61 63 74 69 76 61 | 74 65 22 0d 65 6c 73 65 |Inactiva|te".else|
|00004d00| 20 64 43 68 61 6e 67 65 | 72 20 64 69 61 6c 6f 67 | dChange|r dialog|
|00004d10| 2c 22 31 d7 61 63 74 69 | 76 61 74 65 22 0d 65 6e |,"1.acti|vate".en|
|00004d20| 64 20 4d 48 69 74 0d 0d | 2d 2d 48 65 6c 70 20 74 |d MHit..|--Help t|
|00004d30| 68 69 6e 67 73 0d 0d 6f | 6e 20 6d 6f 75 73 65 45 |hings..o|n mouseE|
|00004d40| 6e 74 65 72 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |nter.put| empty i|
|00004d50| 6e 74 6f 20 74 65 78 74 | 0d 69 66 20 74 68 65 20 |nto text|.if the |
|00004d60| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00004d70| 65 20 74 61 72 67 65 74 | 20 63 6f 6e 74 61 69 6e |e target| contain|
|00004d80| 73 20 22 72 65 61 64 62 | 61 63 6b 22 20 74 68 65 |s "readb|ack" the|
|00004d90| 6e 0d 70 75 74 20 22 55 | 73 65 20 74 68 69 73 20 |n.put "U|se this |
|00004da0| 62 75 74 74 6f 6e 20 74 | 6f 20 68 61 76 65 20 74 |button t|o have t|
|00004db0| 68 65 20 73 65 71 75 65 | 6e 63 65 28 73 29 20 6f |he seque|nce(s) o|
|00004dc0| 6e 20 74 68 69 73 20 63 | 61 72 64 20 72 65 61 64 |n this c|ard read|
|00004dd0| 20 62 61 63 6b 20 74 6f | 20 79 6f 75 2e 22 26 c2 | back to| you."&.|
|00004de0| 0d 22 20 59 6f 75 20 63 | 61 6e 20 61 64 6a 75 73 |." You c|an adjus|
|00004df0| 74 20 74 68 65 20 72 65 | 61 64 69 6e 67 20 72 61 |t the re|ading ra|
|00004e00| 74 65 20 62 79 20 75 73 | 69 6e 67 20 74 68 65 20 |te by us|ing the |
|00004e10| 61 70 70 72 6f 70 72 69 | 61 74 65 20 61 72 72 6f |appropri|ate arro|
|00004e20| 77 73 20 6f 6e 20 74 68 | 69 73 20 62 75 74 74 6f |ws on th|is butto|
|00004e30| 6e 2e 22 20 69 6e 74 6f | 20 54 65 78 74 0d 65 6c |n." into| Text.el|
|00004e40| 73 65 20 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |se if th|e short |
|00004e50| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |name of |the targ|
|00004e60| 65 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 56 6f 69 |et conta|ins "Voi|
|00004e70| 63 65 20 6f 6e 22 20 74 | 68 65 6e 0d 70 75 74 20 |ce on" t|hen.put |
|00004e80| 22 54 68 69 73 20 62 75 | 74 74 6f 6e 20 69 6e 64 |"This bu|tton ind|
|00004e90| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00004ea0| 56 6f 69 63 65 20 76 65 | 72 69 66 69 63 61 74 69 |Voice ve|rificati|
|00004eb0| 6f 6e 20 66 65 61 74 75 | 72 65 20 68 61 73 20 62 |on featu|re has b|
|00004ec0| 65 65 6e 20 74 75 72 6e | 65 64 20 6f 6e 2e 20 45 |een turn|ed on. E|
|00004ed0| 61 63 68 20 62 61 73 65 | 20 79 6f 75 20 74 79 70 |ach base| you typ|
|00004ee0| 65 20 77 69 6c 6c 20 6e | 6f 77 20 62 65 20 72 65 |e will n|ow be re|
|00004ef0| 61 64 20 62 61 63 6b 20 | 74 6f 20 79 6f 75 2e 22 |ad back |to you."|
|00004f00| 20 69 6e 74 6f 20 54 65 | 78 74 0d 65 6c 73 65 20 | into Te|xt.else |
|00004f10| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |if the s|hort nam|
|00004f20| 65 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |e of the| target |
|00004f30| 63 6f 6e 74 61 69 6e 73 | 20 22 73 74 6f 70 22 20 |contains| "stop" |
|00004f40| 74 68 65 6e 0d 70 75 74 | 20 22 43 6c 69 63 6b 20 |then.put| "Click |
|00004f50| 6f 6e 20 74 68 69 73 20 | 62 75 74 74 6f 6e 20 74 |on this |button t|
|00004f60| 6f 20 68 61 6c 74 20 74 | 68 65 20 63 6f 6e 74 69 |o halt t|he conti|
|00004f70| 6e 75 65 64 20 72 65 61 | 64 62 61 63 6b 20 6f 66 |nued rea|dback of|
|00004f80| 20 74 68 65 20 73 65 71 | 75 65 6e 63 65 2e 22 20 | the seq|uence." |
|00004f90| 69 6e 74 6f 20 54 65 78 | 74 0d 65 6c 73 65 20 69 |into Tex|t.else i|
|00004fa0| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00004fb0| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 3d 22 | of the |target="|
|00004fc0| 75 70 22 20 6f 72 20 74 | 68 65 20 73 68 6f 72 74 |up" or t|he short|
|00004fd0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 74 61 72 | name of| the tar|
|00004fe0| 67 65 74 3d 22 64 6f 77 | 6e 22 20 74 68 65 6e 0d |get="dow|n" then.|
|00004ff0| 70 75 74 20 22 54 68 69 | 73 20 69 73 20 62 75 74 |put "Thi|s is but|
|00005000| 74 6f 6e 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ton can |be used |
|00005010| 74 6f 20 61 64 6a 75 73 | 74 20 74 68 65 20 72 65 |to adjus|t the re|
|00005020| 61 64 62 61 63 6b 20 72 | 61 74 65 2e 22 20 69 6e |adback r|ate." in|
|00005030| 74 6f 20 54 65 78 74 0d | 65 6c 73 65 20 69 66 20 |to Text.|else if |
|00005040| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00005050| 66 20 74 68 65 20 74 61 | 72 67 65 74 3d 31 20 6f |f the ta|rget=1 o|
|00005060| 72 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |r the sh|ort name|
|00005070| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 3d 32 | of the |target=2|
|00005080| 20 74 68 65 6e 0d 70 75 | 74 20 22 55 73 65 20 74 | then.pu|t "Use t|
|00005090| 68 69 73 20 69 63 6f 6e | 20 74 6f 20 61 63 63 65 |his icon| to acce|
|000050a0| 73 73 20 61 20 70 6f 70 | 75 70 20 6d 65 6e 75 20 |ss a pop|up menu |
|000050b0| 74 68 61 74 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |that all|ows you |
|000050c0| 74 6f 20 61 64 64 20 61 | 20 73 65 71 75 65 6e 63 |to add a| sequenc|
|000050d0| 65 20 66 72 6f 6d 20 61 | 20 68 69 64 64 65 6e 20 |e from a| hidden |
|000050e0| 6d 6f 74 69 66 20 6d 69 | 6e 69 64 61 74 61 62 61 |motif mi|nidataba|
|000050f0| 73 65 20 74 6f 20 74 68 | 65 20 35 27 20 65 6e 64 |se to th|e 5' end|
|00005100| 20 6f 66 20 6f 6c 69 67 | 6f 20 22 26 74 68 65 20 | of olig|o "&the |
|00005110| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00005120| 65 20 74 61 72 67 65 74 | 26 c2 0d 22 2e 20 59 6f |e target|&..". Yo|
|00005130| 75 20 63 61 6e 20 61 6c | 73 6f 20 75 73 65 20 74 |u can al|so use t|
|00005140| 68 69 73 20 6d 65 6e 75 | 20 74 6f 20 65 64 69 74 |his menu| to edit|
|00005150| 20 74 68 65 20 6d 69 6e | 69 64 61 74 61 62 61 73 | the min|idatabas|
|00005160| 65 2e 22 20 69 6e 74 6f | 20 54 65 78 74 0d 65 6c |e." into| Text.el|
|00005170| 73 65 20 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |se if th|e short |
|00005180| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |name of |the targ|
|00005190| 65 74 3d 22 72 65 66 6f | 72 6d 61 74 20 6f 6c 69 |et="refo|rmat oli|
|000051a0| 67 6f 22 20 74 68 65 6e | 0d 70 75 74 20 22 55 73 |go" then|.put "Us|
|000051b0| 65 20 74 68 69 73 20 62 | 75 74 74 6f 6e 20 74 6f |e this b|utton to|
|000051c0| 20 6f 76 65 72 77 72 69 | 74 65 20 74 68 65 20 73 | overwri|te the s|
|000051d0| 65 71 75 65 6e 63 65 20 | 6f 66 20 74 68 65 20 6f |equence |of the o|
|000051e0| 6c 69 67 6f 20 6f 6e 20 | 74 68 69 73 20 63 61 72 |ligo on |this car|
|000051f0| 64 20 77 69 74 68 20 22 | 26 c2 0d 22 74 68 65 20 |d with "|&.."the |
|00005200| 73 65 71 75 65 6e 63 65 | 20 66 6f 72 6d 61 74 74 |sequence| formatt|
|00005210| 65 64 20 69 6e 20 74 72 | 69 70 6c 65 74 73 2c 20 |ed in tr|iplets, |
|00005220| 74 65 6e 73 20 6f 72 20 | 77 69 74 68 6f 75 74 20 |tens or |without |
|00005230| 67 61 70 73 2e 22 20 69 | 6e 74 6f 20 54 65 78 74 |gaps." i|nto Text|
|00005240| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 20 73 68 6f |.else if| the sho|
|00005250| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 74 |rt name |of the t|
|00005260| 61 72 67 65 74 3d 22 54 | 6d 3f 22 20 74 68 65 6e |arget="T|m?" then|
|00005270| 0d 70 75 74 20 22 43 6c | 69 63 6b 20 68 65 72 65 |.put "Cl|ick here|
|00005280| 20 74 6f 20 72 65 63 61 | 6c 63 75 6c 61 74 65 20 | to reca|lculate |
|00005290| 74 68 65 20 54 6d 20 6f | 66 20 74 68 65 20 6f 6c |the Tm o|f the ol|
|000052a0| 69 67 6f 20 6f 6e 20 74 | 68 69 73 20 63 61 72 64 |igo on t|his card|
|000052b0| 2e 20 54 68 65 20 6f 6c | 64 20 54 6d 20 76 61 6c |. The ol|d Tm val|
|000052c0| 75 65 20 77 69 6c 6c 20 | 62 65 20 6f 76 65 72 77 |ue will |be overw|
|000052d0| 72 69 74 74 65 6e 2e 22 | 20 69 6e 74 6f 20 54 65 |ritten."| into Te|
|000052e0| 78 74 0d 65 6c 73 65 20 | 69 66 20 74 68 65 20 73 |xt.else |if the s|
|000052f0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 65 |hort nam|e of the|
|00005300| 20 74 61 72 67 65 74 3d | 22 43 6f 6e 63 3f 22 20 | target=|"Conc?" |
|00005310| 74 68 65 6e 0d 70 75 74 | 20 22 43 6c 69 63 6b 20 |then.put| "Click |
|00005320| 68 65 72 65 20 74 6f 20 | 63 61 6c 63 75 6c 61 74 |here to |calculat|
|00005330| 65 20 74 68 65 20 63 6f | 6e 63 65 6e 74 72 61 74 |e the co|ncentrat|
|00005340| 69 6f 6e 20 6f 66 20 74 | 68 65 20 6f 6c 69 67 6f |ion of t|he oligo|
|00005350| 2e 20 54 68 65 20 61 6e | 73 77 65 72 20 77 69 6c |. The an|swer wil|
|00005360| 6c 20 62 65 20 61 70 70 | 65 6e 64 65 64 20 74 6f |l be app|ended to|
|00005370| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00005380| 74 65 78 74 20 6f 6e 20 | 74 68 69 73 20 63 61 72 |text on |this car|
|00005390| 64 2e 22 20 69 6e 74 6f | 20 54 65 78 74 0d 65 6e |d." into| Text.en|
|000053a0| 64 20 69 66 0d 69 66 20 | 74 65 78 74 20 69 73 20 |d if.if |text is |
|000053b0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 48 |not empt|y then.H|
|000053c0| 43 42 61 6c 6c 6f 6f 6e | 28 54 65 78 74 29 0d 69 |CBalloon|(Text).i|
|000053d0| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 6b 65 79 20 |f the op|tionkey |
|000053e0| 69 73 20 64 6f 77 6e 20 | 61 6e 64 20 74 68 65 20 |is down |and the |
|000053f0| 72 65 73 75 6c 74 20 63 | 6f 6e 74 61 69 6e 73 20 |result c|ontains |
|00005400| 22 45 72 72 6f 72 22 20 | 74 68 65 6e 0d 61 6e 73 |"Error" |then.ans|
|00005410| 77 65 72 20 54 65 78 74 | 0d 65 6e 64 20 69 66 0d |wer Text|.end if.|
|00005420| 65 6c 73 65 20 70 61 73 | 73 20 6d 6f 75 73 65 45 |else pas|s mouseE|
|00005430| 6e 74 65 72 0d 65 6e 64 | 20 6d 6f 75 73 65 45 6e |nter.end| mouseEn|
|00005440| 74 65 72 0d 0d 0d 6f 6e | 20 61 64 64 45 64 69 74 |ter...on| addEdit|
|00005450| 48 69 74 20 64 69 61 6c | 6f 67 2c 20 69 74 65 6d |Hit dial|og, item|
|00005460| 48 69 74 2c 20 70 61 72 | 74 48 69 74 0d 70 75 74 |Hit, par|tHit.put|
|00005470| 20 64 43 6f 6e 74 65 6e | 74 73 20 28 64 69 61 6c | dConten|ts (dial|
|00005480| 6f 67 2c 36 29 20 69 6e | 74 6f 20 68 6f 6c 64 65 |og,6) in|to holde|
|00005490| 72 0d 69 66 20 68 6f 6c | 64 65 72 20 69 73 20 65 |r.if hol|der is e|
|000054a0| 6d 70 74 79 20 61 6e 64 | 20 69 74 65 6d 48 69 74 |mpty and| itemHit|
|000054b0| 3d 32 20 6f 72 20 68 6f | 6c 64 65 72 20 69 73 20 |=2 or ho|lder is |
|000054c0| 65 6d 70 74 79 20 61 6e | 64 20 69 74 65 6d 48 69 |empty an|d itemHi|
|000054d0| 74 3d 35 20 74 68 65 6e | 0d 65 6c 73 65 20 69 66 |t=5 then|.else if|
|000054e0| 20 69 74 65 6d 48 69 74 | 3c 32 20 6f 72 20 69 74 | itemHit|<2 or it|
|000054f0| 65 6d 48 69 74 3d 36 20 | 74 68 65 6e 0d 65 6c 73 |emHit=6 |then.els|
|00005500| 65 0d 69 66 20 69 74 65 | 6d 48 69 74 3d 32 20 74 |e.if ite|mHit=2 t|
|00005510| 68 65 6e 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |hen.if t|he numbe|
|00005520| 72 20 6f 66 20 69 74 65 | 6d 73 20 6f 66 20 68 6f |r of ite|ms of ho|
|00005530| 6c 64 65 72 3e 30 20 74 | 68 65 6e 0d 70 75 74 20 |lder>0 t|hen.put |
|00005540| 30 20 69 6e 74 6f 20 63 | 6f 75 6e 74 0d 70 75 74 |0 into c|ount.put|
|00005550| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00005560| 74 65 6d 73 20 6f 66 20 | 68 6f 6c 64 65 72 20 69 |tems of |holder i|
|00005570| 6e 74 6f 20 64 65 6c 65 | 74 65 6e 75 6d 0d 72 65 |nto dele|tenum.re|
|00005580| 70 65 61 74 20 77 69 74 | 68 20 78 3d 31 20 74 6f |peat wit|h x=1 to|
|00005590| 20 64 65 6c 65 74 65 6e | 75 6d 0d 70 75 74 20 69 | deleten|um.put i|
|000055a0| 74 65 6d 20 78 20 6f 66 | 20 68 6f 6c 64 65 72 2d |tem x of| holder-|
|000055b0| 63 6f 75 6e 74 20 69 6e | 74 6f 20 6c 69 6e 65 6e |count in|to linen|
|000055c0| 75 6d 0d 61 6e 73 77 65 | 72 20 22 44 65 6c 65 74 |um.answe|r "Delet|
|000055d0| 65 20 22 26 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |e "&item| 1 of li|
|000055e0| 6e 65 20 6c 69 6e 65 6e | 75 6d 20 6f 66 20 63 64 |ne linen|um of cd|
|000055f0| 20 66 6c 64 20 22 6d 6f | 74 69 66 73 22 26 22 3f | fld "mo|tifs"&"?|
|00005600| 22 20 77 69 74 68 20 22 | 4f 4b 22 20 6f 72 20 22 |" with "|OK" or "|
|00005610| 43 61 6e 63 65 6c 22 0d | 69 66 20 69 74 20 69 73 |Cancel".|if it is|
|00005620| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 6e | "Cancel|" then n|
|00005630| 65 78 74 20 72 65 70 65 | 61 74 0d 64 65 6c 65 74 |ext repe|at.delet|
|00005640| 65 20 6c 69 6e 65 20 6c | 69 6e 65 6e 75 6d 20 6f |e line l|inenum o|
|00005650| 66 20 63 64 20 66 6c 64 | 20 22 6d 6f 74 69 66 73 |f cd fld| "motifs|
|00005660| 22 0d 61 64 64 20 31 20 | 74 6f 20 63 6f 75 6e 74 |".add 1 |to count|
|00005670| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00005680| 69 66 0d 65 6c 73 65 20 | 69 66 20 69 74 65 6d 48 |if.else |if itemH|
|00005690| 69 74 3d 33 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |it=3 the|n.repeat|
|000056a0| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 74 68 65 | with x=|1 to the|
|000056b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|000056c0| 20 6f 66 20 68 6f 6c 64 | 65 72 0d 70 75 74 20 69 | of hold|er.put i|
|000056d0| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 69 74 |tem 1 of| line it|
|000056e0| 65 6d 20 78 20 6f 66 20 | 68 6f 6c 64 65 72 20 6f |em x of |holder o|
|000056f0| 66 20 63 64 20 66 6c 64 | 20 22 6d 6f 74 69 66 73 |f cd fld| "motifs|
|00005700| 22 20 69 6e 74 6f 20 6e | 61 6d 65 0d 70 75 74 20 |" into n|ame.put |
|00005710| 69 74 65 6d 20 32 20 6f | 66 20 6c 69 6e 65 20 69 |item 2 o|f line i|
|00005720| 74 65 6d 20 78 20 6f 66 | 20 68 6f 6c 64 65 72 20 |tem x of| holder |
|00005730| 6f 66 20 63 64 20 66 6c | 64 20 22 6d 6f 74 69 66 |of cd fl|d "motif|
|00005740| 73 22 20 69 6e 74 6f 20 | 73 65 71 0d 70 75 74 20 |s" into |seq.put |
|00005750| 69 74 65 6d 20 33 20 6f | 66 20 6c 69 6e 65 20 69 |item 3 o|f line i|
|00005760| 74 65 6d 20 78 20 6f 66 | 20 68 6f 6c 64 65 72 20 |tem x of| holder |
|00005770| 6f 66 20 63 64 20 66 6c | 64 20 22 6d 6f 74 69 66 |of cd fl|d "motif|
|00005780| 73 22 20 69 6e 74 6f 20 | 63 6f 6d 6d 0d 67 6c 6f |s" into |comm.glo|
|00005790| 62 61 6c 20 64 52 65 73 | 75 6c 74 0d 2d 2d 20 2d |bal dRes|ult.-- -|
|000057a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 2d |--------|------.-|
|000057c0| 2d 20 49 74 65 6d 73 20 | 69 6e 20 44 69 61 6c 6f |- Items |in Dialo|
|000057d0| 67 3a 20 22 61 64 64 4d | 6f 74 69 66 22 0d 2d 2d |g: "addM|otif".--|
|000057e0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000057f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005800| 0d 2d 2d 20 31 20 d7 20 | 42 75 74 74 6f 6e 20 22 |.-- 1 . |Button "|
|00005810| 4f 4b 22 0d 2d 2d 20 32 | 20 d7 20 42 75 74 74 6f |OK".-- 2| . Butto|
|00005820| 6e 20 22 43 61 6e 63 65 | 6c 22 0d 2d 2d 20 33 20 |n "Cance|l".-- 3 |
|00005830| d7 20 45 64 69 74 61 62 | 6c 65 20 54 65 78 74 20 |. Editab|le Text |
|00005840| 22 22 0d 2d 2d 20 34 20 | d7 20 45 64 69 74 61 62 |"".-- 4 |. Editab|
|00005850| 6c 65 20 54 65 78 74 20 | 22 22 0d 2d 2d 20 35 20 |le Text |"".-- 5 |
|00005860| d7 20 45 64 69 74 61 62 | 6c 65 20 54 65 78 74 20 |. Editab|le Text |
|00005870| 22 22 0d 2d 2d 20 36 20 | d7 20 53 74 61 74 69 63 |"".-- 6 |. Static|
|00005880| 20 54 65 78 74 20 22 53 | 65 71 75 65 6e 63 65 20 | Text "S|equence |
|00005890| 6d 6f 74 69 66 3a 22 0d | 2d 2d 20 37 20 d7 20 53 |motif:".|-- 7 . S|
|000058a0| 74 61 74 69 63 20 54 65 | 78 74 20 22 53 65 71 75 |tatic Te|xt "Sequ|
|000058b0| 65 6e 63 65 3a 22 0d 2d | 2d 20 38 20 d7 20 53 74 |ence:".-|- 8 . St|
|000058c0| 61 74 69 63 20 54 65 78 | 74 20 22 43 6f 6d 6d 65 |atic Tex|t "Comme|
|000058d0| 6e 74 73 3a 22 0d 2d 2d | 20 39 20 d7 20 53 74 61 |nts:".--| 9 . Sta|
|000058e0| 74 69 63 20 54 65 78 74 | 20 22 4e 65 77 20 53 65 |tic Text| "New Se|
|000058f0| 71 75 65 6e 63 65 20 4d | 6f 74 69 66 22 0d 2d 2d |quence M|otif".--|
|00005900| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00005910| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005920| 0d 0d 70 75 74 20 44 69 | 61 6c 6f 67 65 72 28 22 |..put Di|aloger("|
|00005930| 61 64 64 4d 6f 74 69 66 | 22 26 72 65 74 75 72 6e |addMotif|"&return|
|00005940| 26 22 6f 6e 20 6e 65 77 | 48 69 74 22 c2 0d 2c 22 |&"on new|Hit"..,"|
|00005950| 39 d7 20 20 20 20 20 20 | 20 20 20 45 64 69 74 69 |9. | Editi|
|00005960| 6e 67 2e 2e 2e 22 2c 22 | 33 d7 22 26 6e 61 6d 65 |ng...","|3."&name|
|00005970| 2c 22 33 d7 48 69 64 65 | 22 2c 22 36 d7 22 26 6e |,"3.Hide|","6."&n|
|00005980| 61 6d 65 c2 0d 2c 22 34 | d7 22 26 73 65 71 2c 22 |ame..,"4|."&seq,"|
|00005990| 35 d7 22 26 63 6f 6d 6d | 29 20 69 6e 74 6f 20 64 |5."&comm|) into d|
|000059a0| 52 65 73 75 6c 74 0d 69 | 66 20 64 52 65 73 75 6c |Result.i|f dResul|
|000059b0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 63 61 6e 63 |t contai|ns "canc|
|000059c0| 65 6c 22 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |el" is f|alse the|
|000059d0| 6e 0d 70 75 74 20 74 72 | 61 6e 73 6c 69 74 28 72 |n.put tr|anslit(r|
|000059e0| 65 74 75 72 6e 2c 22 2c | 22 2c 6c 69 6e 65 20 33 |eturn,",|",line 3|
|000059f0| 20 74 6f 20 35 20 6f 66 | 20 64 52 65 73 75 6c 74 | to 5 of| dResult|
|00005a00| 29 20 69 6e 74 6f 20 6e | 65 77 64 61 74 61 0d 70 |) into n|ewdata.p|
|00005a10| 75 74 20 6e 65 77 64 61 | 74 61 20 69 6e 74 6f 20 |ut newda|ta into |
|00005a20| 6c 69 6e 65 20 69 74 65 | 6d 20 78 20 6f 66 20 68 |line ite|m x of h|
|00005a30| 6f 6c 64 65 72 20 6f 66 | 20 63 64 20 66 6c 64 20 |older of| cd fld |
|00005a40| 22 6d 6f 74 69 66 73 22 | 0d 65 6e 64 20 69 66 0d |"motifs"|.end if.|
|00005a50| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6c 73 65 20 |end repe|at.else |
|00005a60| 69 66 20 69 74 65 6d 48 | 69 74 3d 34 20 74 68 65 |if itemH|it=4 the|
|00005a70| 6e 0d 67 6c 6f 62 61 6c | 20 64 52 65 73 75 6c 74 |n.global| dResult|
|00005a80| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |.put ret|urn into|
|00005a90| 20 43 52 0d 0d 2d 2d 20 | 2d 2d 2d 2d 2d 2d 2d 2d | CR..-- |--------|
|00005aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005ab0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 20 49 74 65 6d 73 |-------.|-- Items|
|00005ac0| 20 69 6e 20 44 69 61 6c | 6f 67 3a 20 22 61 64 64 | in Dial|og: "add|
|00005ad0| 4d 6f 74 69 66 22 0d 2d | 2d 20 2d 2d 2d 2d 2d 2d |Motif".-|- ------|
|00005ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 2d 2d 20 31 20 d7 |--------|-.-- 1 .|
|00005b00| 20 42 75 74 74 6f 6e 20 | 22 4f 4b 22 0d 2d 2d 20 | Button |"OK".-- |
|00005b10| 32 20 d7 20 42 75 74 74 | 6f 6e 20 22 43 61 6e 63 |2 . Butt|on "Canc|
|00005b20| 65 6c 22 0d 2d 2d 20 33 | 20 d7 20 45 64 69 74 61 |el".-- 3| . Edita|
|00005b30| 62 6c 65 20 54 65 78 74 | 20 22 22 0d 2d 2d 20 34 |ble Text| "".-- 4|
|00005b40| 20 d7 20 45 64 69 74 61 | 62 6c 65 20 54 65 78 74 | . Edita|ble Text|
|00005b50| 20 22 22 0d 2d 2d 20 35 | 20 d7 20 45 64 69 74 61 | "".-- 5| . Edita|
|00005b60| 62 6c 65 20 54 65 78 74 | 20 22 22 0d 2d 2d 20 36 |ble Text| "".-- 6|
|00005b70| 20 d7 20 53 74 61 74 69 | 63 20 54 65 78 74 20 22 | . Stati|c Text "|
|00005b80| 53 65 71 75 65 6e 63 65 | 20 6d 6f 74 69 66 3a 22 |Sequence| motif:"|
|00005b90| 0d 2d 2d 20 37 20 d7 20 | 53 74 61 74 69 63 20 54 |.-- 7 . |Static T|
|00005ba0| 65 78 74 20 22 53 65 71 | 75 65 6e 63 65 3a 22 0d |ext "Seq|uence:".|
|00005bb0| 2d 2d 20 38 20 d7 20 53 | 74 61 74 69 63 20 54 65 |-- 8 . S|tatic Te|
|00005bc0| 78 74 20 22 43 6f 6d 6d | 65 6e 74 73 3a 22 0d 2d |xt "Comm|ents:".-|
|00005bd0| 2d 20 39 20 d7 20 53 74 | 61 74 69 63 20 54 65 78 |- 9 . St|atic Tex|
|00005be0| 74 20 22 4e 65 77 20 53 | 65 71 75 65 6e 63 65 20 |t "New S|equence |
|00005bf0| 4d 6f 74 69 66 22 0d 2d | 2d 20 2d 2d 2d 2d 2d 2d |Motif".-|- ------|
|00005c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 0d 70 75 74 20 |--------|-...put |
|00005c20| 44 69 61 6c 6f 67 65 72 | 28 22 61 64 64 4d 6f 74 |Dialoger|("addMot|
|00005c30| 69 66 22 26 72 65 74 75 | 72 6e 26 22 6f 6e 20 6e |if"&retu|rn&"on n|
|00005c40| 65 77 48 69 74 22 c2 0d | 29 20 69 6e 74 6f 20 64 |ewHit"..|) into d|
|00005c50| 52 65 73 75 6c 74 0d 69 | 66 20 64 52 65 73 75 6c |Result.i|f dResul|
|00005c60| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 63 61 6e 63 |t contai|ns "canc|
|00005c70| 65 6c 22 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |el" is f|alse the|
|00005c80| 6e 0d 70 75 74 20 74 72 | 61 6e 73 6c 69 74 28 72 |n.put tr|anslit(r|
|00005c90| 65 74 75 72 6e 2c 22 2c | 22 2c 6c 69 6e 65 20 33 |eturn,",|",line 3|
|00005ca0| 20 74 6f 20 35 20 6f 66 | 20 64 52 65 73 75 6c 74 | to 5 of| dResult|
|00005cb0| 29 20 69 6e 74 6f 20 68 | 6f 6c 64 65 72 0d 70 75 |) into h|older.pu|
|00005cc0| 74 20 72 65 74 75 72 6e | 26 68 6f 6c 64 65 72 20 |t return|&holder |
|00005cd0| 61 66 74 65 72 20 63 64 | 20 66 6c 64 20 22 6d 6f |after cd| fld "mo|
|00005ce0| 74 69 66 73 22 0d 70 75 | 74 20 73 6f 72 74 66 69 |tifs".pu|t sortfi|
|00005cf0| 65 6c 64 20 28 63 64 20 | 66 6c 64 20 22 6d 6f 74 |eld (cd |fld "mot|
|00005d00| 69 66 73 22 29 20 69 6e | 74 6f 20 63 64 20 66 6c |ifs") in|to cd fl|
|00005d10| 64 20 22 6d 6f 74 69 66 | 73 22 0d 69 66 20 73 74 |d "motif|s".if st|
|00005d20| 72 69 70 28 22 2c 22 2c | 6c 69 6e 65 20 31 20 6f |rip(",",|line 1 o|
|00005d30| 66 20 63 64 20 66 6c 64 | 20 22 6d 6f 74 69 66 73 |f cd fld| "motifs|
|00005d40| 22 29 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |") is em|pty then|
|00005d50| 0d 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 31 20 6f |.delete |line 1 o|
|00005d60| 66 20 63 64 20 66 6c 64 | 20 22 6d 6f 74 69 66 73 |f cd fld| "motifs|
|00005d70| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |".end if|.end if.|
|00005d80| 65 6c 73 65 20 69 66 20 | 69 74 65 6d 48 69 74 3d |else if |itemHit=|
|00005d90| 35 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 6e 75 |5 then.i|f the nu|
|00005da0| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 6f 66 |mber of |items of|
|00005db0| 20 68 6f 6c 64 65 72 3e | 30 20 74 68 65 6e 0d 69 | holder>|0 then.i|
|00005dc0| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |f the nu|mber of |
|00005dd0| 69 74 65 6d 73 20 6f 66 | 20 68 6f 6c 64 65 72 3e |items of| holder>|
|00005de0| 31 20 74 68 65 6e 0d 70 | 6c 61 79 20 68 61 72 70 |1 then.p|lay harp|
|00005df0| 73 69 63 68 6f 72 64 0d | 61 6e 73 77 65 72 20 22 |sichord.|answer "|
|00005e00| 4f 6e 6c 79 20 6f 6e 65 | 20 6d 6f 74 69 66 20 63 |Only one| motif c|
|00005e10| 61 6e 20 62 65 20 61 64 | 64 65 64 20 61 74 20 61 |an be ad|ded at a|
|00005e20| 20 74 69 6d 65 21 22 0d | 65 6c 73 65 20 61 64 64 | time!".|else add|
|00005e30| 4d 6f 74 69 66 20 68 6f | 6c 64 65 72 0d 65 6e 64 |Motif ho|lder.end|
|00005e40| 20 69 66 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 65 | if.end |if.put e|
|00005e50| 78 74 72 61 63 74 49 74 | 65 6d 73 28 63 64 20 66 |xtractIt|ems(cd f|
|00005e60| 6c 64 20 22 6d 6f 74 69 | 66 73 22 2c 31 29 20 69 |ld "moti|fs",1) i|
|00005e70| 6e 74 6f 20 4c 69 73 74 | 31 0d 64 43 68 61 6e 67 |nto List|1.dChang|
|00005e80| 65 72 20 64 69 61 6c 6f | 67 2c 22 36 d7 4e 65 77 |er dialo|g,"6.New|
|00005e90| 22 26 72 65 74 75 72 6e | 26 4c 69 73 74 31 2c 22 |"&return|&List1,"|
|00005ea0| 36 d7 53 65 6c 65 63 74 | 20 22 26 6c 61 73 74 20 |6.Select| "&last |
|00005eb0| 69 74 65 6d 20 6f 66 20 | 68 6f 6c 64 65 72 0d 65 |item of |holder.e|
|00005ec0| 6e 64 20 69 66 0d 65 6e | 64 20 61 64 64 45 64 69 |nd if.en|d addEdi|
|00005ed0| 74 48 69 74 0d 0d 0d 6f | 6e 20 61 64 64 4d 6f 74 |tHit...o|n addMot|
|00005ee0| 69 66 20 74 6f 41 64 64 | 0d 67 6c 6f 62 61 6c 20 |if toAdd|.global |
|00005ef0| 62 75 74 74 6f 6e 6e 75 | 6d 0d 70 75 74 20 72 65 |buttonnu|m.put re|
|00005f00| 74 75 72 6e 26 73 70 61 | 63 65 20 69 6e 74 6f 20 |turn&spa|ce into |
|00005f10| 73 74 72 69 70 63 68 61 | 72 73 0d 70 75 74 20 69 |stripcha|rs.put i|
|00005f20| 74 65 6d 20 32 20 6f 66 | 20 6c 69 6e 65 20 74 6f |tem 2 of| line to|
|00005f30| 41 64 64 20 6f 66 20 63 | 64 20 66 6c 64 20 22 6d |Add of c|d fld "m|
|00005f40| 6f 74 69 66 73 22 20 69 | 6e 74 6f 20 61 64 64 6d |otifs" i|nto addm|
|00005f50| 6f 74 69 66 0d 69 66 20 | 69 74 65 6d 20 33 20 6f |otif.if |item 3 o|
|00005f60| 66 20 6c 69 6e 65 20 74 | 6f 41 64 64 20 6f 66 20 |f line t|oAdd of |
|00005f70| 63 64 20 66 6c 64 20 22 | 6d 6f 74 69 66 73 22 20 |cd fld "|motifs" |
|00005f80| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005f90| 6e 0d 61 6e 73 77 65 72 | 20 69 74 65 6d 20 33 20 |n.answer| item 3 |
|00005fa0| 6f 66 20 6c 69 6e 65 20 | 74 6f 41 64 64 20 6f 66 |of line |toAdd of|
|00005fb0| 20 63 64 20 66 6c 64 20 | 22 6d 6f 74 69 66 73 22 | cd fld |"motifs"|
|00005fc0| 20 77 69 74 68 20 22 50 | 72 6f 63 65 65 64 22 20 | with "P|roceed" |
|00005fd0| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 69 66 20 69 |or "Canc|el".if i|
|00005fe0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00005ff0| 65 6e 20 65 78 69 74 20 | 61 64 64 6d 6f 74 69 66 |en exit |addmotif|
|00006000| 0d 65 6e 64 20 69 66 0d | 69 66 20 73 74 72 69 70 |.end if.|if strip|
|00006010| 28 73 74 72 69 70 63 68 | 61 72 73 2c 63 64 20 66 |(stripch|ars,cd f|
|00006020| 6c 64 20 33 29 20 69 73 | 20 65 6d 70 74 79 20 74 |ld 3) is| empty t|
|00006030| 68 65 6e 20 70 75 74 20 | 22 36 d7 69 6e 61 63 74 |hen put |"6.inact|
|00006040| 69 76 61 74 65 22 20 69 | 6e 74 6f 20 68 6f 6c 64 |ivate" i|nto hold|
|00006050| 65 72 0d 65 6c 73 65 20 | 70 75 74 20 22 36 d7 74 |er.else |put "6.t|
|00006060| 72 75 65 22 20 69 6e 74 | 6f 20 68 6f 6c 64 65 72 |rue" int|o holder|
|00006070| 0d 70 75 74 20 64 69 61 | 6c 6f 67 65 72 28 22 41 |.put dia|loger("A|
|00006080| 64 64 6d 6f 74 69 66 32 | 22 26 72 65 74 75 72 6e |ddmotif2|"&return|
|00006090| 26 22 33 d7 74 72 75 65 | 22 2c 68 6f 6c 64 65 72 |&"3.true|",holder|
|000060a0| 29 20 69 6e 74 6f 20 64 | 52 65 73 75 6c 74 0d 69 |) into d|Result.i|
|000060b0| 66 20 64 52 65 73 75 6c | 74 20 63 6f 6e 74 61 69 |f dResul|t contai|
|000060c0| 6e 73 20 22 63 61 6e 63 | 65 6c 22 20 74 68 65 6e |ns "canc|el" then|
|000060d0| 20 65 78 69 74 20 61 64 | 64 6d 6f 74 69 66 0d 69 | exit ad|dmotif.i|
|000060e0| 66 20 6c 69 6e 65 20 36 | 20 6f 66 20 64 52 65 73 |f line 6| of dRes|
|000060f0| 75 6c 74 3d 22 74 72 75 | 65 22 20 74 68 65 6e 0d |ult="tru|e" then.|
|00006100| 70 75 74 20 73 74 72 69 | 70 28 73 74 72 69 70 63 |put stri|p(stripc|
|00006110| 68 61 72 73 2c 63 64 20 | 66 6c 64 20 33 29 20 69 |hars,cd |fld 3) i|
|00006120| 6e 74 6f 20 63 64 66 6c | 64 33 0d 70 75 74 20 74 |nto cdfl|d3.put t|
|00006130| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 63 64 66 |he lengt|h of cdf|
|00006140| 6c 64 33 20 69 6e 74 6f | 20 6c 65 6e 67 74 68 0d |ld3 into| length.|
|00006150| 70 75 74 20 63 68 61 72 | 20 6c 65 6e 67 74 68 2d |put char| length-|
|00006160| 35 30 20 74 6f 20 6c 65 | 6e 67 74 68 20 6f 66 20 |50 to le|ngth of |
|00006170| 63 64 66 6c 64 33 26 63 | 64 20 66 6c 64 20 33 20 |cdfld3&c|d fld 3 |
|00006180| 69 6e 74 6f 20 63 64 66 | 6c 64 63 69 72 63 0d 69 |into cdf|ldcirc.i|
|00006190| 66 20 61 64 64 6d 6f 74 | 69 66 20 69 73 20 69 6e |f addmot|if is in|
|000061a0| 20 63 64 66 6c 64 33 20 | 6f 72 20 61 64 64 6d 6f | cdfld3 |or addmo|
|000061b0| 74 69 66 20 69 73 20 69 | 6e 20 63 64 66 6c 64 63 |tif is i|n cdfldc|
|000061c0| 69 72 63 20 74 68 65 6e | 20 70 75 74 20 79 65 73 |irc then| put yes|
|000061d0| 20 69 6e 74 6f 20 73 69 | 74 65 73 0d 2d 2d 63 6f | into si|tes.--co|
|000061e0| 6d 70 6c 65 6d 65 6e 74 | 0d 67 6c 6f 62 61 6c 20 |mplement|.global |
|000061f0| 72 63 69 6e 2c 72 63 6f | 75 74 2c 72 6e 61 0d 70 |rcin,rco|ut,rna.p|
|00006200| 75 74 20 61 64 64 6d 6f | 74 69 66 20 69 6e 74 6f |ut addmo|tif into|
|00006210| 20 72 63 69 6e 0d 69 66 | 20 72 63 69 6e 20 63 6f | rcin.if| rcin co|
|00006220| 6e 74 61 69 6e 73 20 22 | 74 22 20 74 68 65 6e 0d |ntains "|t" then.|
|00006230| 70 75 74 20 22 44 4e 41 | 22 20 69 6e 74 6f 20 6e |put "DNA|" into n|
|00006240| 75 63 74 79 70 65 0d 65 | 6e 64 20 69 66 0d 70 75 |uctype.e|nd if.pu|
|00006250| 74 20 72 65 76 65 72 73 | 65 53 74 72 69 6e 67 28 |t revers|eString(|
|00006260| 72 63 69 6e 29 20 69 6e | 74 6f 20 72 63 6f 75 74 |rcin) in|to rcout|
|00006270| 0d 69 66 20 72 6e 61 20 | 69 73 20 22 66 61 6c 73 |.if rna |is "fals|
|00006280| 65 22 20 74 68 65 6e 0d | 2d 2d 69 66 20 28 6e 75 |e" then.|--if (nu|
|00006290| 63 74 79 70 65 20 69 73 | 20 22 44 4e 41 22 29 20 |ctype is| "DNA") |
|000062a0| 61 6e 64 20 28 72 6e 61 | 20 69 73 20 22 66 61 6c |and (rna| is "fal|
|000062b0| 73 65 22 29 20 74 68 65 | 6e 0d 70 75 74 20 22 54 |se") the|n.put "T|
|000062c0| 41 41 43 47 22 20 69 6e | 74 6f 20 74 6f 53 74 72 |AACG" in|to toStr|
|000062d0| 0d 65 6c 73 65 0d 70 75 | 74 20 22 55 41 41 43 47 |.else.pu|t "UAACG|
|000062e0| 22 20 61 66 74 65 72 20 | 74 6f 53 74 72 0d 65 6e |" after |toStr.en|
|000062f0| 64 20 69 66 0d 70 75 74 | 20 74 72 61 6e 73 6c 69 |d if.put| transli|
|00006300| 74 28 22 61 74 75 67 63 | 41 54 55 47 43 22 2c 20 |t("atugc|ATUGC", |
|00006310| 74 6f 53 74 72 20 26 20 | 74 6f 53 74 72 2c 20 72 |toStr & |toStr, r|
|00006320| 63 6f 75 74 29 20 69 6e | 74 6f 20 72 63 6f 75 74 |cout) in|to rcout|
|00006330| 0d 70 75 74 20 74 72 61 | 6e 73 6c 69 74 28 22 c2 |.put tra|nslit(".|
|00006340| 41 54 55 47 43 2e 4e 2a | 22 2c 20 22 20 22 2c 20 |ATUGC.N*|", " ", |
|00006350| 72 63 6f 75 74 29 20 69 | 6e 74 6f 20 72 63 6f 75 |rcout) i|nto rcou|
|00006360| 74 0d 70 75 74 20 72 63 | 6f 75 74 20 69 6e 74 6f |t.put rc|out into|
|00006370| 20 63 6f 6d 70 0d 69 66 | 20 63 6f 6d 70 20 69 73 | comp.if| comp is|
|00006380| 20 69 6e 20 63 64 66 6c | 64 33 20 6f 72 20 63 6f | in cdfl|d3 or co|
|00006390| 6d 70 20 69 73 20 69 6e | 20 63 64 66 6c 64 63 69 |mp is in| cdfldci|
|000063a0| 72 63 20 6f 72 20 73 69 | 74 65 73 20 63 6f 6e 74 |rc or si|tes cont|
|000063b0| 61 69 6e 73 20 22 59 65 | 73 22 20 74 68 65 6e 0d |ains "Ye|s" then.|
|000063c0| 70 6c 61 79 20 68 61 72 | 70 73 69 63 68 6f 72 64 |play har|psichord|
|000063d0| 0d 61 6e 73 77 65 72 20 | 22 54 68 65 20 74 61 72 |.answer |"The tar|
|000063e0| 67 65 74 20 73 69 74 65 | 20 63 6f 6e 74 61 69 6e |get site| contain|
|000063f0| 73 20 74 68 65 20 73 69 | 74 65 20 79 6f 75 20 68 |s the si|te you h|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.